Create the AHCI branch for Aman's work
[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 } RUN;
44
45 typedef struct _IMGINFO
46 {
47 HBITMAP hBitmap;
48 INT cxSource;
49 INT cySource;
50 } IMGINFO, *PIMGINFO;
51
52 typedef struct
53 {
54 PAGESTATE NextPage;
55 RUN Run;
56 IMGINFO ImageInfo;
57 } STATE, *PSTATE;
58
59
60 extern HINSTANCE hInstance;
61
62 LONG
63 ReadRegSzKey(
64 IN HKEY hKey,
65 IN LPCWSTR pszKey,
66 OUT LPWSTR *pValue);
67
68 BOOL
69 IsLiveCD(VOID);
70
71
72 VOID
73 RunLiveCD(
74 PSTATE State);
75
76 #endif /* __USERINIT_H__ */