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.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/burn/engine/core.h b/src/burn/engine/core.h
index 14dbabcc..31f63ed4 100644
--- a/src/burn/engine/core.h
+++ b/src/burn/engine/core.h
@@ -174,6 +174,19 @@ typedef struct _BURN_APPLY_CONTEXT
174 DWORD dwCacheCheckpoint; 174 DWORD dwCacheCheckpoint;
175} BURN_APPLY_CONTEXT; 175} BURN_APPLY_CONTEXT;
176 176
177typedef BOOL (STDAPICALLTYPE *PFN_CREATEPROCESSW)(
178 __in_opt LPCWSTR lpApplicationName,
179 __inout_opt LPWSTR lpCommandLine,
180 __in_opt LPSECURITY_ATTRIBUTES lpProcessAttributes,
181 __in_opt LPSECURITY_ATTRIBUTES lpThreadAttributes,
182 __in BOOL bInheritHandles,
183 __in DWORD dwCreationFlags,
184 __in_opt LPVOID lpEnvironment,
185 __in_opt LPCWSTR lpCurrentDirectory,
186 __in LPSTARTUPINFOW lpStartupInfo,
187 __out LPPROCESS_INFORMATION lpProcessInformation
188 );
189
177typedef HRESULT (DAPI *PFN_PROCWAITFORCOMPLETION)( 190typedef HRESULT (DAPI *PFN_PROCWAITFORCOMPLETION)(
178 __in HANDLE hProcess, 191 __in HANDLE hProcess,
179 __in DWORD dwTimeout, 192 __in DWORD dwTimeout,
@@ -287,8 +300,18 @@ HRESULT CoreParseCommandLine(
287 __inout HANDLE* phSourceEngineFile 300 __inout HANDLE* phSourceEngineFile
288 ); 301 );
289void CoreFunctionOverride( 302void CoreFunctionOverride(
303 __in_opt PFN_CREATEPROCESSW pfnCreateProcessW,
290 __in_opt PFN_PROCWAITFORCOMPLETION pfnProcWaitForCompletion 304 __in_opt PFN_PROCWAITFORCOMPLETION pfnProcWaitForCompletion
291 ); 305 );
306HRESULT CoreCreateProcess(
307 __in_opt LPCWSTR wzApplicationName,
308 __inout_opt LPWSTR sczCommandLine,
309 __in BOOL fInheritHandles,
310 __in DWORD dwCreationFlags,
311 __in_opt LPCWSTR wzCurrentDirectory,
312 __in WORD wShowWindow,
313 __out LPPROCESS_INFORMATION pProcessInformation
314 );
292HRESULT DAPI CoreWaitForProcCompletion( 315HRESULT DAPI CoreWaitForProcCompletion(
293 __in HANDLE hProcess, 316 __in HANDLE hProcess,
294 __in DWORD dwTimeout, 317 __in DWORD dwTimeout,