summaryrefslogtreecommitdiff
path: root/src/burn/engine/core.h
diff options
context:
space:
mode:
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}