diff options
| author | Sean Hall <r.sean.hall@gmail.com> | 2020-07-18 16:48:54 +1000 |
|---|---|---|
| committer | Sean Hall <r.sean.hall@gmail.com> | 2020-07-18 16:50:49 +1000 |
| commit | 655a166adbd56ea7036b2001258ede77f58baee0 (patch) | |
| tree | a8815533c850f8f8f04fee40c7a9e7ef18592dc7 /src/WixToolset.BootstrapperCore.Native/inc/BundleExtension.h | |
| parent | 6d763d9c86405644cc72530ad64978efd6ba5828 (diff) | |
| download | wix-655a166adbd56ea7036b2001258ede77f58baee0.tar.gz wix-655a166adbd56ea7036b2001258ede77f58baee0.tar.bz2 wix-655a166adbd56ea7036b2001258ede77f58baee0.zip | |
Move Burn headers from BootstrapperCore repo.
Diffstat (limited to 'src/WixToolset.BootstrapperCore.Native/inc/BundleExtension.h')
| -rw-r--r-- | src/WixToolset.BootstrapperCore.Native/inc/BundleExtension.h | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/src/WixToolset.BootstrapperCore.Native/inc/BundleExtension.h b/src/WixToolset.BootstrapperCore.Native/inc/BundleExtension.h new file mode 100644 index 00000000..5c7d1260 --- /dev/null +++ b/src/WixToolset.BootstrapperCore.Native/inc/BundleExtension.h | |||
| @@ -0,0 +1,59 @@ | |||
| 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 | #if defined(__cplusplus) | ||
| 6 | extern "C" { | ||
| 7 | #endif | ||
| 8 | |||
| 9 | enum BUNDLE_EXTENSION_MESSAGE | ||
| 10 | { | ||
| 11 | BUNDLE_EXTENSION_MESSAGE_SEARCH, | ||
| 12 | }; | ||
| 13 | |||
| 14 | typedef struct _BUNDLE_EXTENSION_SEARCH_ARGS | ||
| 15 | { | ||
| 16 | DWORD cbSize; | ||
| 17 | LPCWSTR wzId; | ||
| 18 | LPCWSTR wzVariable; | ||
| 19 | } BUNDLE_EXTENSION_SEARCH_ARGS; | ||
| 20 | |||
| 21 | typedef struct _BUNDLE_EXTENSION_SEARCH_RESULTS | ||
| 22 | { | ||
| 23 | DWORD cbSize; | ||
| 24 | } BUNDLE_EXTENSION_SEARCH_RESULTS; | ||
| 25 | |||
| 26 | extern "C" typedef HRESULT(WINAPI *PFN_BUNDLE_EXTENSION_PROC)( | ||
| 27 | __in BUNDLE_EXTENSION_MESSAGE message, | ||
| 28 | __in const LPVOID pvArgs, | ||
| 29 | __inout LPVOID pvResults, | ||
| 30 | __in_opt LPVOID pvContext | ||
| 31 | ); | ||
| 32 | |||
| 33 | typedef struct _BUNDLE_EXTENSION_CREATE_ARGS | ||
| 34 | { | ||
| 35 | DWORD cbSize; | ||
| 36 | DWORD64 qwEngineAPIVersion; | ||
| 37 | PFN_BUNDLE_EXTENSION_ENGINE_PROC pfnBundleExtensionEngineProc; | ||
| 38 | LPVOID pvBundleExtensionEngineProcContext; | ||
| 39 | LPCWSTR wzBootstrapperWorkingFolder; | ||
| 40 | LPCWSTR wzBundleExtensionDataPath; | ||
| 41 | } BUNDLE_EXTENSION_CREATE_ARGS; | ||
| 42 | |||
| 43 | typedef struct _BUNDLE_EXTENSION_CREATE_RESULTS | ||
| 44 | { | ||
| 45 | DWORD cbSize; | ||
| 46 | PFN_BUNDLE_EXTENSION_PROC pfnBundleExtensionProc; | ||
| 47 | LPVOID pvBundleExtensionProcContext; | ||
| 48 | } BUNDLE_EXTENSION_CREATE_RESULTS; | ||
| 49 | |||
| 50 | extern "C" typedef HRESULT(WINAPI *PFN_BUNDLE_EXTENSION_CREATE)( | ||
| 51 | __in const BUNDLE_EXTENSION_CREATE_ARGS* pArgs, | ||
| 52 | __inout BUNDLE_EXTENSION_CREATE_RESULTS* pResults | ||
| 53 | ); | ||
| 54 | |||
| 55 | extern "C" typedef void (WINAPI *PFN_BUNDLE_EXTENSION_DESTROY)(); | ||
| 56 | |||
| 57 | #if defined(__cplusplus) | ||
| 58 | } | ||
| 59 | #endif | ||
