aboutsummaryrefslogtreecommitdiff
path: root/src/burn/engine/core.h
diff options
context:
space:
mode:
authorSean Hall <r.sean.hall@gmail.com>2022-06-29 10:28:53 -0500
committerSean Hall <r.sean.hall@gmail.com>2022-06-29 15:08:37 -0500
commit7cca75c8e95f129a21c33f1f4568e90e9e397f9d (patch)
treecb9890caa1ac8bc891d444b6376a5e9f997ca1e3 /src/burn/engine/core.h
parent3ff6428a068bafd74d8ec072a5fc261c33cc2019 (diff)
downloadwix-7cca75c8e95f129a21c33f1f4568e90e9e397f9d.tar.gz
wix-7cca75c8e95f129a21c33f1f4568e90e9e397f9d.tar.bz2
wix-7cca75c8e95f129a21c33f1f4568e90e9e397f9d.zip
Add AppWaitForSingleObject/MultipleObjects, ThreadWaitForCompletion.
Diffstat (limited to 'src/burn/engine/core.h')
-rw-r--r--src/burn/engine/core.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/burn/engine/core.h b/src/burn/engine/core.h
index 28d7ea78..14dbabcc 100644
--- a/src/burn/engine/core.h
+++ b/src/burn/engine/core.h
@@ -174,6 +174,12 @@ typedef struct _BURN_APPLY_CONTEXT
174 DWORD dwCacheCheckpoint; 174 DWORD dwCacheCheckpoint;
175} BURN_APPLY_CONTEXT; 175} BURN_APPLY_CONTEXT;
176 176
177typedef HRESULT (DAPI *PFN_PROCWAITFORCOMPLETION)(
178 __in HANDLE hProcess,
179 __in DWORD dwTimeout,
180 __out DWORD* pReturnCode
181 );
182
177 183
178// function declarations 184// function declarations
179 185
@@ -280,6 +286,14 @@ HRESULT CoreParseCommandLine(
280 __inout HANDLE* phSectionFile, 286 __inout HANDLE* phSectionFile,
281 __inout HANDLE* phSourceEngineFile 287 __inout HANDLE* phSourceEngineFile
282 ); 288 );
289void CoreFunctionOverride(
290 __in_opt PFN_PROCWAITFORCOMPLETION pfnProcWaitForCompletion
291 );
292HRESULT DAPI CoreWaitForProcCompletion(
293 __in HANDLE hProcess,
294 __in DWORD dwTimeout,
295 __out_opt DWORD* pdwReturnCode
296 );
283 297
284#if defined(__cplusplus) 298#if defined(__cplusplus)
285} 299}