aboutsummaryrefslogtreecommitdiff
path: root/src/burn/engine/splashscreen.h
blob: 470c5930b79c57c24c277eb18d5e97630d66147b (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
45
#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

// 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

#define IDD_BURN_SPLASH_SCREEN_CONFIGURATION 1

// constants

enum BURN_SPLASH_SCREEN_TYPE
{
    BURN_SPLASH_SCREEN_TYPE_NONE,
    BURN_SPLASH_SCREEN_TYPE_BITMAP_RESOURCE,
};

// structs

typedef struct _BURN_SPLASH_SCREEN_CONFIGURATION
{
    BURN_SPLASH_SCREEN_TYPE type;
    WORD wResourceId;
} BURN_SPLASH_SCREEN_CONFIGURATION;


// functions

void SplashScreenCreate(
    __in HINSTANCE hInstance,
    __in_z_opt LPCWSTR wzCaption,
    __out HWND* pHwnd
    );
HRESULT SplashScreenDisplayError(
    __in BOOTSTRAPPER_DISPLAY display,
    __in_z LPCWSTR wzBundleName,
    __in HRESULT hrError
    );

#if defined(__cplusplus)
}
#endif