From af10c45d7b3a44af0b461a557847fe03263dcc10 Mon Sep 17 00:00:00 2001 From: Rob Mensching Date: Thu, 22 Apr 2021 17:06:54 -0700 Subject: Move burn into burn --- src/burn/engine/platform.h | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 src/burn/engine/platform.h (limited to 'src/burn/engine/platform.h') 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 @@ +#pragma once +// 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. + + +#if defined(__cplusplus) +extern "C" { +#endif + + +// typedefs + +typedef BOOL (WINAPI *PFN_INITIATESYSTEMSHUTDOWNEXW)( + __in_opt LPWSTR lpMachineName, + __in_opt LPWSTR lpMessage, + __in DWORD dwTimeout, + __in BOOL bForceAppsClosed, + __in BOOL bRebootAfterShutdown, + __in DWORD dwReason + ); + + +// variable declarations + +extern PFN_INITIATESYSTEMSHUTDOWNEXW vpfnInitiateSystemShutdownExW; + + +// function declarations + +void PlatformInitialize(); + + +#if defined(__cplusplus) +} +#endif -- cgit v1.2.3-55-g6feb