diff options
author | Rob Mensching <rob@firegiant.com> | 2021-05-11 07:42:44 -0700 |
---|---|---|
committer | Rob Mensching <rob@firegiant.com> | 2021-05-11 07:42:44 -0700 |
commit | afc20ecb53ad3ade524aceefa30d98a3d84fd479 (patch) | |
tree | 4fb762f65dc195ccb104a6c1fcce7c40e7693e98 /src/burn/engine/platform.h | |
parent | 8e1207c4c5e451ba1a087f0fa11b63964ac35f3c (diff) | |
parent | af10c45d7b3a44af0b461a557847fe03263dcc10 (diff) | |
download | wix-afc20ecb53ad3ade524aceefa30d98a3d84fd479.tar.gz wix-afc20ecb53ad3ade524aceefa30d98a3d84fd479.tar.bz2 wix-afc20ecb53ad3ade524aceefa30d98a3d84fd479.zip |
Merge burn
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 | ||