aboutsummaryrefslogtreecommitdiff
path: root/src/engine/EngineForApplication.h
diff options
context:
space:
mode:
authorSean Hall <r.sean.hall@gmail.com>2018-12-29 22:12:08 -0600
committerSean Hall <r.sean.hall@gmail.com>2018-12-29 22:12:08 -0600
commit61847dddd4fd497057c780658e383c4627de19ec (patch)
treef85a845182922538ab9aa6ee85b0db3ab40c1f6e /src/engine/EngineForApplication.h
parent8295f5f8fd28042e1a0a172d5afbba79178064c2 (diff)
downloadwix-61847dddd4fd497057c780658e383c4627de19ec.tar.gz
wix-61847dddd4fd497057c780658e383c4627de19ec.tar.bz2
wix-61847dddd4fd497057c780658e383c4627de19ec.zip
Import code from old v4 repo
Diffstat (limited to 'src/engine/EngineForApplication.h')
-rw-r--r--src/engine/EngineForApplication.h44
1 files changed, 44 insertions, 0 deletions
diff --git a/src/engine/EngineForApplication.h b/src/engine/EngineForApplication.h
new file mode 100644
index 00000000..1b755acc
--- /dev/null
+++ b/src/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
27struct BOOTSTRAPPER_ENGINE_CONTEXT
28{
29 BURN_ENGINE_STATE* pEngineState;
30 DWORD dwThreadId;
31};
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