ReactOS
0.4.15-dev-4863-gba0d16f
userinit.h
Go to the documentation of this file.
1
/*
2
*/
3
4
#ifndef __USERINIT_H__
5
#define __USERINIT_H__
6
7
#include <stdio.h>
8
#include <stdlib.h>
9
10
/* PSDK/NDK Headers */
11
#define WIN32_NO_STATUS
12
#define _INC_WINDOWS
13
#define COM_NO_WINDOWS_H
14
#include <
windef.h
>
15
#include <
winbase.h
>
16
#include <
wingdi.h
>
17
#include <
winreg.h
>
18
#include <
regstr.h
>
19
#include <
winnls.h
>
20
#include <
winuser.h
>
21
#include <
undocuser.h
>
22
23
#include <
strsafe.h
>
24
25
#include <
ndk/exfuncs.h
>
26
27
#include <
wine/debug.h
>
28
WINE_DEFAULT_DEBUG_CHANNEL
(userinit);
29
30
#include "
resource.h
"
31
32
33
typedef
enum
34
{
35
LOCALEPAGE
,
36
STARTPAGE
,
37
DONE
38
}
PAGESTATE
;
39
40
typedef
enum
41
{
42
SHELL
,
43
INSTALLER
,
44
REBOOT
45
}
RUN
;
46
47
typedef
struct
_IMGINFO
48
{
49
HBITMAP
hBitmap
;
50
INT
cxSource
;
51
INT
cySource
;
52
INT
iPlanes
;
53
INT
iBits
;
54
}
IMGINFO
, *
PIMGINFO
;
55
56
typedef
struct
57
{
58
PAGESTATE
NextPage
;
59
RUN
Run
;
60
IMGINFO
ImageInfo
;
61
struct
_LIVECD_UNATTEND
*
Unattend
;
62
}
STATE
, *
PSTATE
;
63
64
65
extern
HINSTANCE
hInstance
;
66
67
LONG
68
ReadRegSzKey
(
69
IN
HKEY
hKey
,
70
IN
LPCWSTR
pszKey,
71
OUT
LPWSTR
*
pValue
);
72
73
BOOL
74
IsLiveCD
(
VOID
);
75
76
77
VOID
78
RunLiveCD
(
79
PSTATE
State
);
80
81
#endif
/* __USERINIT_H__ */
wingdi.h
resource.h
IMGINFO
struct _IMGINFO IMGINFO
IN
#define IN
Definition:
typedefs.h:39
_STATE
Definition:
nslookup.h:66
regstr.h
_IMGINFO::iBits
INT iBits
Definition:
userinit.h:53
LPCWSTR
const WCHAR * LPCWSTR
Definition:
xmlstorage.h:185
debug.h
hInstance
HINSTANCE hInstance
Definition:
charmap.c:20
winbase.h
pValue
PWCHAR pValue
Definition:
fxregistryapi.cpp:1471
PAGESTATE
PAGESTATE
Definition:
userinit.h:33
LOCALEPAGE
Definition:
userinit.h:35
exfuncs.h
STATE::Run
RUN Run
Definition:
userinit.h:59
INT
int32_t INT
Definition:
typedefs.h:58
PIMGINFO
struct _IMGINFO * PIMGINFO
INSTALLER
Definition:
userinit.h:43
BOOL
unsigned int BOOL
Definition:
ntddk_ex.h:94
LONG
long LONG
Definition:
pedump.c:60
REBOOT
Definition:
userinit.h:44
STATE::ImageInfo
IMGINFO ImageInfo
Definition:
userinit.h:60
_IMGINFO::cySource
INT cySource
Definition:
userinit.h:51
_IMGINFO
Definition:
userinit.h:47
STATE::NextPage
PAGESTATE NextPage
Definition:
userinit.h:58
winnls.h
_IMGINFO::iPlanes
INT iPlanes
Definition:
userinit.h:52
RUN
RUN
Definition:
userinit.h:40
STATE::Unattend
struct _LIVECD_UNATTEND * Unattend
Definition:
userinit.h:61
SHELL
Definition:
userinit.h:42
WINE_DEFAULT_DEBUG_CHANNEL
WINE_DEFAULT_DEBUG_CHANNEL(userinit)
windef.h
_LIVECD_UNATTEND
Definition:
livecd.c:14
STARTPAGE
Definition:
userinit.h:36
_IMGINFO::cxSource
INT cxSource
Definition:
userinit.h:50
winreg.h
DONE
Definition:
userinit.h:37
undocuser.h
hKey
FxAutoRegKey hKey
Definition:
fxdriverapikm.cpp:59
ReadRegSzKey
LONG ReadRegSzKey(IN HKEY hKey, IN LPCWSTR pszKey, OUT LPWSTR *pValue)
Definition:
userinit.c:39
STATE
struct _STATE STATE
_IMGINFO::hBitmap
HBITMAP hBitmap
Definition:
userinit.h:49
strsafe.h
State
Definition:
stack_allocator.h:18
OUT
#define OUT
Definition:
typedefs.h:40
winuser.h
RunLiveCD
VOID RunLiveCD(PSTATE State)
Definition:
livecd.c:883
HBITMAP
static HBITMAP
Definition:
button.c:44
LPWSTR
WCHAR * LPWSTR
Definition:
xmlstorage.h:184
void
Definition:
nsiface.idl:2306
IsLiveCD
BOOL IsLiveCD(VOID)
Definition:
livecd.c:106
PSTATE
struct STATE * PSTATE
base
system
userinit
userinit.h
Generated on Mon Jun 27 2022 06:04:44 for ReactOS by
1.8.15