| 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) |
| 6 | extern "C" { |
| 7 | #endif |
| 8 | |
| 9 | // IDD_BURN_SPLASH_SCREEN_CONFIGURATION, BURN_SPLASH_SCREEN_TYPE, and BURN_SPLASH_SCREEN_CONFIGURATION must stay in sync with src\wix\WixToolset.Core.Burn\Bundles\CreateBundleExeCommand.cs |
| 10 | |
| 11 | #define IDD_BURN_SPLASH_SCREEN_CONFIGURATION 1 |
| 12 | |
| 13 | // constants |
| 14 | |
| 15 | enum BURN_SPLASH_SCREEN_TYPE |
| 16 | { |
| 17 | BURN_SPLASH_SCREEN_TYPE_NONE, |
| 18 | BURN_SPLASH_SCREEN_TYPE_BITMAP_RESOURCE, |
| 19 | }; |
| 20 | |
| 21 | // structs |
| 22 | |
| 23 | typedef struct _BURN_SPLASH_SCREEN_CONFIGURATION |
| 24 | { |
| 25 | BURN_SPLASH_SCREEN_TYPE type; |
| 26 | WORD wResourceId; |
| 27 | } BURN_SPLASH_SCREEN_CONFIGURATION; |
| 28 | |
| 29 | |
| 30 | // functions |
| 31 | |
| 32 | void SplashScreenCreate( |
| 33 | __in HINSTANCE hInstance, |
| 34 | __in_z_opt LPCWSTR wzCaption, |
| 35 | __out HWND* pHwnd |
| 36 | ); |
| 37 | HRESULT SplashScreenDisplayError( |
| 38 | __in BOOTSTRAPPER_DISPLAY display, |
| 39 | __in_z LPCWSTR wzBundleName, |
| 40 | __in HRESULT hrError |
| 41 | ); |
| 42 | |
| 43 | #if defined(__cplusplus) |
| 44 | } |
| 45 | #endif |