diff options
Diffstat (limited to 'src/burn/engine/core.h')
-rw-r--r-- | src/burn/engine/core.h | 23 |
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 | ||
177 | typedef 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 | |||
177 | typedef HRESULT (DAPI *PFN_PROCWAITFORCOMPLETION)( | 190 | typedef 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 | ); |
289 | void CoreFunctionOverride( | 302 | void CoreFunctionOverride( |
303 | __in_opt PFN_CREATEPROCESSW pfnCreateProcessW, | ||
290 | __in_opt PFN_PROCWAITFORCOMPLETION pfnProcWaitForCompletion | 304 | __in_opt PFN_PROCWAITFORCOMPLETION pfnProcWaitForCompletion |
291 | ); | 305 | ); |
306 | HRESULT 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 | ); | ||
292 | HRESULT DAPI CoreWaitForProcCompletion( | 315 | HRESULT DAPI CoreWaitForProcCompletion( |
293 | __in HANDLE hProcess, | 316 | __in HANDLE hProcess, |
294 | __in DWORD dwTimeout, | 317 | __in DWORD dwTimeout, |