blob: e5e8f6d77099de3ef4912d2f9ce27fce687ce331 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
#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
// constants
enum WM_BURN
{
WM_BURN_FIRST = WM_APP + 0xFFF, // this enum value must always be first.
WM_BURN_DETECT,
WM_BURN_PLAN,
WM_BURN_ELEVATE,
WM_BURN_APPLY,
WM_BURN_LAUNCH_APPROVED_EXE,
WM_BURN_QUIT,
WM_BURN_LAST, // this enum value must always be last.
};
// structs
typedef struct _BOOTSTRAPPER_ENGINE_CONTEXT
{
BURN_ENGINE_STATE* pEngineState;
DWORD dwThreadId;
} BOOTSTRAPPER_ENGINE_CONTEXT;
// function declarations
HRESULT WINAPI EngineForApplicationProc(
__in BOOTSTRAPPER_ENGINE_MESSAGE message,
__in const LPVOID pvArgs,
__inout LPVOID pvResults,
__in_opt LPVOID pvContext
);
#if defined(__cplusplus)
}
#endif
|