diff options
Diffstat (limited to 'src/burn/engine/platform.h')
| -rw-r--r-- | src/burn/engine/platform.h | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/src/burn/engine/platform.h b/src/burn/engine/platform.h new file mode 100644 index 00000000..3681f248 --- /dev/null +++ b/src/burn/engine/platform.h | |||
| @@ -0,0 +1,34 @@ | |||
| 1 | #pragma once | ||
| 2 | // Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. | ||
| 3 | |||
| 4 | |||
| 5 | #if defined(__cplusplus) | ||
| 6 | extern "C" { | ||
| 7 | #endif | ||
| 8 | |||
| 9 | |||
| 10 | // typedefs | ||
| 11 | |||
| 12 | typedef BOOL (WINAPI *PFN_INITIATESYSTEMSHUTDOWNEXW)( | ||
| 13 | __in_opt LPWSTR lpMachineName, | ||
| 14 | __in_opt LPWSTR lpMessage, | ||
| 15 | __in DWORD dwTimeout, | ||
| 16 | __in BOOL bForceAppsClosed, | ||
| 17 | __in BOOL bRebootAfterShutdown, | ||
| 18 | __in DWORD dwReason | ||
| 19 | ); | ||
| 20 | |||
| 21 | |||
| 22 | // variable declarations | ||
| 23 | |||
| 24 | extern PFN_INITIATESYSTEMSHUTDOWNEXW vpfnInitiateSystemShutdownExW; | ||
| 25 | |||
| 26 | |||
| 27 | // function declarations | ||
| 28 | |||
| 29 | void PlatformInitialize(); | ||
| 30 | |||
| 31 | |||
| 32 | #if defined(__cplusplus) | ||
| 33 | } | ||
| 34 | #endif | ||
