diff options
author | Sean Hall <r.sean.hall@gmail.com> | 2018-12-29 22:12:08 -0600 |
---|---|---|
committer | Sean Hall <r.sean.hall@gmail.com> | 2018-12-29 22:12:08 -0600 |
commit | 61847dddd4fd497057c780658e383c4627de19ec (patch) | |
tree | f85a845182922538ab9aa6ee85b0db3ab40c1f6e /src/engine/platform.h | |
parent | 8295f5f8fd28042e1a0a172d5afbba79178064c2 (diff) | |
download | wix-61847dddd4fd497057c780658e383c4627de19ec.tar.gz wix-61847dddd4fd497057c780658e383c4627de19ec.tar.bz2 wix-61847dddd4fd497057c780658e383c4627de19ec.zip |
Import code from old v4 repo
Diffstat (limited to 'src/engine/platform.h')
-rw-r--r-- | src/engine/platform.h | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/src/engine/platform.h b/src/engine/platform.h new file mode 100644 index 00000000..3681f248 --- /dev/null +++ b/src/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 | ||