main
h 29 lines 771 Bytes
Raw
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 #ifdef __cplusplus
6 extern "C" {
7 #endif
8
9 typedef enum _BURN_EMBEDDED_MESSAGE_TYPE
10 {
11 BURN_EMBEDDED_MESSAGE_TYPE_UNKNOWN,
12 BURN_EMBEDDED_MESSAGE_TYPE_ERROR,
13 BURN_EMBEDDED_MESSAGE_TYPE_PROGRESS,
14 } BURN_EMBEDDED_MESSAGE_TYPE;
15
16
17 HRESULT EmbeddedRunBundle(
18 __in BURN_PIPE_CONNECTION* pConnection,
19 __in_z LPCWSTR wzExecutablePath,
20 __in_z LPWSTR sczBaseCommand,
21 __in_z_opt LPCWSTR wzUserArgs,
22 __in PFN_GENERICMESSAGEHANDLER pfnGenericMessageHandler,
23 __in LPVOID pvContext,
24 __out DWORD* pdwExitCode
25 );
26
27 #ifdef __cplusplus
28 }
29 #endif