diff options
author | Sean Hall <r.sean.hall@gmail.com> | 2018-12-29 22:24:05 -0600 |
---|---|---|
committer | Sean Hall <r.sean.hall@gmail.com> | 2018-12-29 22:24:05 -0600 |
commit | 60069b189db09521558b99827aee47fe3f81309b (patch) | |
tree | 2e955a21999feea3497cd023b6798188b10f377a /src/balutil/inc/IBAFunctions.h | |
parent | 681527e7830ece6325e9a4e64008a7034cc44a25 (diff) | |
download | wix-60069b189db09521558b99827aee47fe3f81309b.tar.gz wix-60069b189db09521558b99827aee47fe3f81309b.tar.bz2 wix-60069b189db09521558b99827aee47fe3f81309b.zip |
Import code from old v4 repo
Diffstat (limited to 'src/balutil/inc/IBAFunctions.h')
-rw-r--r-- | src/balutil/inc/IBAFunctions.h | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/src/balutil/inc/IBAFunctions.h b/src/balutil/inc/IBAFunctions.h new file mode 100644 index 00000000..7d8a07fa --- /dev/null +++ b/src/balutil/inc/IBAFunctions.h | |||
@@ -0,0 +1,34 @@ | |||
1 | #pragma once | ||
2 | // Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. | ||
3 | |||
4 | |||
5 | DECLARE_INTERFACE_IID_(IBAFunctions, IBootstrapperApplication, "0FB445ED-17BD-49C7-BE19-479776F8AE96") | ||
6 | { | ||
7 | // OnThemeLoaded - Called after the BA finished loading all the controls for the theme. | ||
8 | // | ||
9 | STDMETHOD(OnThemeLoaded)( | ||
10 | THEME* pTheme, | ||
11 | WIX_LOCALIZATION* pWixLoc | ||
12 | ) = 0; | ||
13 | |||
14 | // WndProc - Called if the BA hasn't handled the message. | ||
15 | // The implementation must either return E_NOTIMPL or call ThemeDefWindowProc for unhandled messages. | ||
16 | // | ||
17 | STDMETHOD(WndProc)( | ||
18 | __in THEME* pTheme, | ||
19 | __in HWND hWnd, | ||
20 | __in UINT uMsg, | ||
21 | __in WPARAM wParam, | ||
22 | __in LPARAM lParam, | ||
23 | __inout LRESULT* plRes | ||
24 | ) = 0; | ||
25 | |||
26 | // BAFunctionsProc - The PFN_BA_FUNCTIONS_PROC can call this method to give the BAFunctions raw access to the callback from WixStdBA. | ||
27 | // This might be used to help the BAFunctions support more than one version of the engine/WixStdBA. | ||
28 | STDMETHOD(BAFunctionsProc)( | ||
29 | __in BA_FUNCTIONS_MESSAGE message, | ||
30 | __in const LPVOID pvArgs, | ||
31 | __inout LPVOID pvResults, | ||
32 | __in_opt LPVOID pvContext | ||
33 | ) = 0; | ||
34 | }; | ||