summaryrefslogtreecommitdiff
path: root/src/burn/engine/EngineForApplication.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/burn/engine/EngineForApplication.h')
-rw-r--r--src/burn/engine/EngineForApplication.h44
1 files changed, 44 insertions, 0 deletions
diff --git a/src/burn/engine/EngineForApplication.h b/src/burn/engine/EngineForApplication.h
new file mode 100644
index 00000000..e5e8f6d7
--- /dev/null
+++ b/src/burn/engine/EngineForApplication.h
@@ -0,0 +1,44 @@
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)
6extern "C" {
7#endif
8
9// constants
10
11enum WM_BURN
12{
13 WM_BURN_FIRST = WM_APP + 0xFFF, // this enum value must always be first.
14
15 WM_BURN_DETECT,
16 WM_BURN_PLAN,
17 WM_BURN_ELEVATE,
18 WM_BURN_APPLY,
19 WM_BURN_LAUNCH_APPROVED_EXE,
20 WM_BURN_QUIT,
21
22 WM_BURN_LAST, // this enum value must always be last.
23};
24
25// structs
26
27typedef struct _BOOTSTRAPPER_ENGINE_CONTEXT
28{
29 BURN_ENGINE_STATE* pEngineState;
30 DWORD dwThreadId;
31} BOOTSTRAPPER_ENGINE_CONTEXT;
32
33// function declarations
34
35HRESULT WINAPI EngineForApplicationProc(
36 __in BOOTSTRAPPER_ENGINE_MESSAGE message,
37 __in const LPVOID pvArgs,
38 __inout LPVOID pvResults,
39 __in_opt LPVOID pvContext
40 );
41
42#if defined(__cplusplus)
43}
44#endif