[MSIEXEC] Sync with Wine Staging 2.16. CORE-13762
[reactos.git] / base / system / userinit / userinit.h
1 /*
2 */
3
4 #ifndef __USERINIT_H__
5 #define __USERINIT_H__
6
7 #define WIN32_NO_STATUS
8 #define _INC_WINDOWS
9 #define COM_NO_WINDOWS_H
10 #include <stdarg.h>
11 #include <windef.h>
12 #include <winbase.h>
13 #include <winreg.h>
14 #include <wingdi.h>
15 #include <wincon.h>
16 #include <shellapi.h>
17 #include <regstr.h>
18 #include <shlobj.h>
19 #include <shlwapi.h>
20 #include <undocuser.h>
21 #include <winnls.h>
22 #include <stdio.h>
23
24 #include <ndk/exfuncs.h>
25
26 #include <wine/debug.h>
27 WINE_DEFAULT_DEBUG_CHANNEL(userinit);
28
29 #include "resource.h"
30
31
32 typedef enum
33 {
34 LOCALEPAGE,
35 STARTPAGE,
36 DONE
37 } PAGESTATE;
38
39 typedef enum
40 {
41 SHELL,
42 INSTALLER,
43 REBOOT
44 } RUN;
45
46 typedef struct _IMGINFO
47 {
48 HBITMAP hBitmap;
49 INT cxSource;
50 INT cySource;
51 INT iPlanes;
52 INT iBits;
53 } IMGINFO, *PIMGINFO;
54
55 typedef struct
56 {
57 PAGESTATE NextPage;
58 RUN Run;
59 IMGINFO ImageInfo;
60 } STATE, *PSTATE;
61
62
63 extern HINSTANCE hInstance;
64
65 LONG
66 ReadRegSzKey(
67 IN HKEY hKey,
68 IN LPCWSTR pszKey,
69 OUT LPWSTR *pValue);
70
71 BOOL
72 IsLiveCD(VOID);
73
74
75 VOID
76 RunLiveCD(
77 PSTATE State);
78
79 #endif /* __USERINIT_H__ */