diff options
author | Rob Mensching <rob@firegiant.com> | 2024-03-07 09:41:29 -0800 |
---|---|---|
committer | Rob Mensching <rob@firegiant.com> | 2024-03-07 10:55:57 -0800 |
commit | 5baa1dfe8ba2a3bd4728bca118fe1de225f848d4 (patch) | |
tree | 4f1c216075173e0e4d0863ada195f21d7ec976e0 /src/api/burn/inc/BootstrapperExtension.h | |
parent | dea25ba9bcfd65200b60339c2e4bc060cdf20723 (diff) | |
download | wix-5baa1dfe8ba2a3bd4728bca118fe1de225f848d4.tar.gz wix-5baa1dfe8ba2a3bd4728bca118fe1de225f848d4.tar.bz2 wix-5baa1dfe8ba2a3bd4728bca118fe1de225f848d4.zip |
Rename "bundle extension" to "bootstrapper extension" for more consistency
Also renames WixToolet.BextUtil nupkg to WixToolset.BootstrapperExtensionApi.
Diffstat (limited to 'src/api/burn/inc/BootstrapperExtension.h')
-rw-r--r-- | src/api/burn/inc/BootstrapperExtension.h | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/src/api/burn/inc/BootstrapperExtension.h b/src/api/burn/inc/BootstrapperExtension.h new file mode 100644 index 00000000..b1fa6408 --- /dev/null +++ b/src/api/burn/inc/BootstrapperExtension.h | |||
@@ -0,0 +1,61 @@ | |||
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 | #include <BootstrapperExtensionEngine.h> | ||
5 | |||
6 | #if defined(__cplusplus) | ||
7 | extern "C" { | ||
8 | #endif | ||
9 | |||
10 | enum BOOTSTRAPPER_EXTENSION_MESSAGE | ||
11 | { | ||
12 | BOOTSTRAPPER_EXTENSION_MESSAGE_SEARCH, | ||
13 | }; | ||
14 | |||
15 | typedef struct _BOOTSTRAPPER_EXTENSION_SEARCH_ARGS | ||
16 | { | ||
17 | DWORD cbSize; | ||
18 | LPCWSTR wzId; | ||
19 | LPCWSTR wzVariable; | ||
20 | } BOOTSTRAPPER_EXTENSION_SEARCH_ARGS; | ||
21 | |||
22 | typedef struct _BOOTSTRAPPER_EXTENSION_SEARCH_RESULTS | ||
23 | { | ||
24 | DWORD cbSize; | ||
25 | } BOOTSTRAPPER_EXTENSION_SEARCH_RESULTS; | ||
26 | |||
27 | extern "C" typedef HRESULT(WINAPI *PFN_BOOTSTRAPPER_EXTENSION_PROC)( | ||
28 | __in BOOTSTRAPPER_EXTENSION_MESSAGE message, | ||
29 | __in const LPVOID pvArgs, | ||
30 | __inout LPVOID pvResults, | ||
31 | __in_opt LPVOID pvContext | ||
32 | ); | ||
33 | |||
34 | typedef struct _BOOTSTRAPPER_EXTENSION_CREATE_ARGS | ||
35 | { | ||
36 | DWORD cbSize; | ||
37 | DWORD64 qwEngineAPIVersion; | ||
38 | PFN_BOOTSTRAPPER_EXTENSION_ENGINE_PROC pfnBootstrapperExtensionEngineProc; | ||
39 | LPVOID pvBootstrapperExtensionEngineProcContext; | ||
40 | LPCWSTR wzBootstrapperWorkingFolder; | ||
41 | LPCWSTR wzBootstrapperExtensionDataPath; | ||
42 | LPCWSTR wzExtensionId; | ||
43 | } BOOTSTRAPPER_EXTENSION_CREATE_ARGS; | ||
44 | |||
45 | typedef struct _BOOTSTRAPPER_EXTENSION_CREATE_RESULTS | ||
46 | { | ||
47 | DWORD cbSize; | ||
48 | PFN_BOOTSTRAPPER_EXTENSION_PROC pfnBootstrapperExtensionProc; | ||
49 | LPVOID pvBootstrapperExtensionProcContext; | ||
50 | } BOOTSTRAPPER_EXTENSION_CREATE_RESULTS; | ||
51 | |||
52 | extern "C" typedef HRESULT(WINAPI *PFN_BOOTSTRAPPER_EXTENSION_CREATE)( | ||
53 | __in const BOOTSTRAPPER_EXTENSION_CREATE_ARGS* pArgs, | ||
54 | __inout BOOTSTRAPPER_EXTENSION_CREATE_RESULTS* pResults | ||
55 | ); | ||
56 | |||
57 | extern "C" typedef void (WINAPI *PFN_BOOTSTRAPPER_EXTENSION_DESTROY)(); | ||
58 | |||
59 | #if defined(__cplusplus) | ||
60 | } | ||
61 | #endif | ||