diff options
author | Sean Hall <r.sean.hall@gmail.com> | 2021-08-03 15:41:18 -0500 |
---|---|---|
committer | Sean Hall <r.sean.hall@gmail.com> | 2021-08-04 10:03:57 -0500 |
commit | 6d7a275edafb3ae0f3cff94d66503a82dafb71f7 (patch) | |
tree | fae8f75e2cd1d7b179b0ed93e15625d68ba7c441 /src/burn/engine/approvedexe.h | |
parent | ed57d171f6fb6bb4e180696cc12caa568599566a (diff) | |
download | wix-6d7a275edafb3ae0f3cff94d66503a82dafb71f7.tar.gz wix-6d7a275edafb3ae0f3cff94d66503a82dafb71f7.tar.bz2 wix-6d7a275edafb3ae0f3cff94d66503a82dafb71f7.zip |
Replace static cache internals with a struct.
Initialize them explicitly to make it clearer when that happens.
Diffstat (limited to 'src/burn/engine/approvedexe.h')
-rw-r--r-- | src/burn/engine/approvedexe.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/burn/engine/approvedexe.h b/src/burn/engine/approvedexe.h index 23f3b1bb..076d86c4 100644 --- a/src/burn/engine/approvedexe.h +++ b/src/burn/engine/approvedexe.h | |||
@@ -6,6 +6,11 @@ | |||
6 | extern "C" { | 6 | extern "C" { |
7 | #endif | 7 | #endif |
8 | 8 | ||
9 | // forward declare | ||
10 | |||
11 | typedef struct _BOOTSTRAPPER_ENGINE_CONTEXT BOOTSTRAPPER_ENGINE_CONTEXT; | ||
12 | typedef struct _BURN_CACHE BURN_CACHE; | ||
13 | typedef struct _BURN_ENGINE_COMMAND BURN_ENGINE_COMMAND; | ||
9 | 14 | ||
10 | // structs | 15 | // structs |
11 | 16 | ||
@@ -57,6 +62,7 @@ HRESULT ApprovedExesLaunch( | |||
57 | __out DWORD* pdwProcessId | 62 | __out DWORD* pdwProcessId |
58 | ); | 63 | ); |
59 | HRESULT ApprovedExesVerifySecureLocation( | 64 | HRESULT ApprovedExesVerifySecureLocation( |
65 | __in BURN_CACHE* pCache, | ||
60 | __in BURN_VARIABLES* pVariables, | 66 | __in BURN_VARIABLES* pVariables, |
61 | __in BURN_LAUNCH_APPROVED_EXE* pLaunchApprovedExe | 67 | __in BURN_LAUNCH_APPROVED_EXE* pLaunchApprovedExe |
62 | ); | 68 | ); |