diff options
| author | Jacob Hoover <jacob.hoover@greenheck.com> | 2022-11-10 10:48:23 -0600 |
|---|---|---|
| committer | Sean Hall <r.sean.hall@gmail.com> | 2022-11-10 23:49:10 -0600 |
| commit | fa393914f12f6d6bc88a73e4d5b009da765f6dd5 (patch) | |
| tree | 6dbf354d4542b3e085795b0a917eaafc1eead415 /src/api/burn/WixToolset.BootstrapperCore.Native/inc/BundleExtensionEngine.h | |
| parent | c843b47d6233153fa961c6d0e61edf7cedf255bb (diff) | |
| download | wix-fa393914f12f6d6bc88a73e4d5b009da765f6dd5.tar.gz wix-fa393914f12f6d6bc88a73e4d5b009da765f6dd5.tar.bz2 wix-fa393914f12f6d6bc88a73e4d5b009da765f6dd5.zip | |
WIXFEAT-3704 - Allow access to persisted variables from related bundles
Diffstat (limited to 'src/api/burn/WixToolset.BootstrapperCore.Native/inc/BundleExtensionEngine.h')
| -rw-r--r-- | src/api/burn/WixToolset.BootstrapperCore.Native/inc/BundleExtensionEngine.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/api/burn/WixToolset.BootstrapperCore.Native/inc/BundleExtensionEngine.h b/src/api/burn/WixToolset.BootstrapperCore.Native/inc/BundleExtensionEngine.h index b397ec16..b585d1a2 100644 --- a/src/api/burn/WixToolset.BootstrapperCore.Native/inc/BundleExtensionEngine.h +++ b/src/api/burn/WixToolset.BootstrapperCore.Native/inc/BundleExtensionEngine.h | |||
| @@ -28,6 +28,7 @@ enum BUNDLE_EXTENSION_ENGINE_MESSAGE | |||
| 28 | BUNDLE_EXTENSION_ENGINE_MESSAGE_SETVARIABLESTRING, | 28 | BUNDLE_EXTENSION_ENGINE_MESSAGE_SETVARIABLESTRING, |
| 29 | BUNDLE_EXTENSION_ENGINE_MESSAGE_SETVARIABLEVERSION, | 29 | BUNDLE_EXTENSION_ENGINE_MESSAGE_SETVARIABLEVERSION, |
| 30 | BUNDLE_EXTENSION_ENGINE_MESSAGE_COMPAREVERSIONS, | 30 | BUNDLE_EXTENSION_ENGINE_MESSAGE_COMPAREVERSIONS, |
| 31 | BUNDLE_EXTENSION_ENGINE_MESSAGE_GETRELATEDBUNDLEVARIABLE, | ||
| 31 | }; | 32 | }; |
| 32 | 33 | ||
| 33 | typedef struct _BUNDLE_EXTENSION_ENGINE_COMPAREVERSIONS_ARGS | 34 | typedef struct _BUNDLE_EXTENSION_ENGINE_COMPAREVERSIONS_ARGS |
| @@ -172,6 +173,21 @@ typedef struct _BUNDLE_EXTENSION_ENGINE_SETVARIABLEVERSION_RESULTS | |||
| 172 | DWORD cbSize; | 173 | DWORD cbSize; |
| 173 | } BUNDLE_EXTENSION_ENGINE_SETVARIABLEVERSION_RESULTS; | 174 | } BUNDLE_EXTENSION_ENGINE_SETVARIABLEVERSION_RESULTS; |
| 174 | 175 | ||
| 176 | typedef struct _BUNDLE_EXTENSION_ENGINE_GETRELATEDBUNDLEVARIABLE_ARGS | ||
| 177 | { | ||
| 178 | DWORD cbSize; | ||
| 179 | LPCWSTR wzBundleId; | ||
| 180 | LPCWSTR wzVariable; | ||
| 181 | } BUNDLE_EXTENSION_ENGINE_GETRELATEDBUNDLEVARIABLE_ARGS; | ||
| 182 | |||
| 183 | typedef struct _BUNDLE_EXTENSION_ENGINE_GETRELATEDBUNDLEVARIABLE_RESULTS | ||
| 184 | { | ||
| 185 | DWORD cbSize; | ||
| 186 | LPWSTR wzValue; | ||
| 187 | // Should be initialized to the size of wzValue. | ||
| 188 | SIZE_T cchValue; | ||
| 189 | } BUNDLE_EXTENSION_ENGINE_GETRELATEDBUNDLEVARIABLE_RESULTS; | ||
| 190 | |||
| 175 | extern "C" typedef HRESULT(WINAPI *PFN_BUNDLE_EXTENSION_ENGINE_PROC)( | 191 | extern "C" typedef HRESULT(WINAPI *PFN_BUNDLE_EXTENSION_ENGINE_PROC)( |
| 176 | __in BUNDLE_EXTENSION_ENGINE_MESSAGE message, | 192 | __in BUNDLE_EXTENSION_ENGINE_MESSAGE message, |
| 177 | __in const LPVOID pvArgs, | 193 | __in const LPVOID pvArgs, |
