From b49ab4e082127e450b266c25218905c94495892e Mon Sep 17 00:00:00 2001 From: Sean Hall Date: Mon, 8 Nov 2021 15:01:35 -0600 Subject: Enable warning to detect hidden base class functions --- src/ext/Bal/Samples/bafunctions/WixSampleBAFunctions.cpp | 3 ++- src/ext/Bal/wixstdba/WixStandardBootstrapperApplication.cpp | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'src/ext') diff --git a/src/ext/Bal/Samples/bafunctions/WixSampleBAFunctions.cpp b/src/ext/Bal/Samples/bafunctions/WixSampleBAFunctions.cpp index 531b86a3..870b219b 100644 --- a/src/ext/Bal/Samples/bafunctions/WixSampleBAFunctions.cpp +++ b/src/ext/Bal/Samples/bafunctions/WixSampleBAFunctions.cpp @@ -8,6 +8,7 @@ class CWixSampleBAFunctions : public CBalBaseBAFunctions { public: // IBootstrapperApplication virtual STDMETHODIMP OnDetectBegin( + __in BOOL fCached, __in BOOL fInstalled, __in DWORD cPackages, __inout BOOL* pfCancel @@ -15,7 +16,7 @@ public: // IBootstrapperApplication { HRESULT hr = S_OK; - BalLog(BOOTSTRAPPER_LOG_LEVEL_STANDARD, "Running detect begin BA function. fInstalled=%d, cPackages=%u, fCancel=%d", fInstalled, cPackages, *pfCancel); + BalLog(BOOTSTRAPPER_LOG_LEVEL_STANDARD, "Running detect begin BA function. fCached=%d, fInstalled=%d, cPackages=%u, fCancel=%d", fCached, fInstalled, cPackages, *pfCancel); //------------------------------------------------------------------------------------------------- // YOUR CODE GOES HERE diff --git a/src/ext/Bal/wixstdba/WixStandardBootstrapperApplication.cpp b/src/ext/Bal/wixstdba/WixStandardBootstrapperApplication.cpp index d1b18cb3..4d819c7d 100644 --- a/src/ext/Bal/wixstdba/WixStandardBootstrapperApplication.cpp +++ b/src/ext/Bal/wixstdba/WixStandardBootstrapperApplication.cpp @@ -275,7 +275,8 @@ public: // IBootstrapperApplication virtual STDMETHODIMP OnDetectPackageComplete( __in LPCWSTR wzPackageId, __in HRESULT /*hrStatus*/, - __in BOOTSTRAPPER_PACKAGE_STATE state + __in BOOTSTRAPPER_PACKAGE_STATE state, + __in BOOL /*fCached*/ ) { WIXSTDBA_PACKAGE_INFO* pPackageInfo = NULL; -- cgit v1.2.3-55-g6feb