ReactOS
0.4.16-dev-751-g45ed1a9
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__ */
WINE_DEFAULT_DEBUG_CHANNEL
#define WINE_DEFAULT_DEBUG_CHANNEL(t)
Definition:
precomp.h:23
BOOL
unsigned int BOOL
Definition:
ntddk_ex.h:94
hKey
FxAutoRegKey hKey
Definition:
fxdriverapikm.cpp:59
pValue
PWCHAR pValue
Definition:
fxregistryapi.cpp:1471
void
Definition:
nsiface.idl:2307
HBITMAP
static HBITMAP
Definition:
button.c:44
exfuncs.h
LONG
long LONG
Definition:
pedump.c:60
regstr.h
debug.h
strsafe.h
STATE
Definition:
userinit.h:57
STATE::Unattend
struct _LIVECD_UNATTEND * Unattend
Definition:
userinit.h:61
STATE::ImageInfo
IMGINFO ImageInfo
Definition:
userinit.h:60
STATE::Run
RUN Run
Definition:
userinit.h:59
STATE::NextPage
PAGESTATE NextPage
Definition:
userinit.h:58
State
Definition:
stack_allocator.h:18
_IMGINFO
Definition:
userinit.h:48
_IMGINFO::iPlanes
INT iPlanes
Definition:
userinit.h:52
_IMGINFO::cxSource
INT cxSource
Definition:
userinit.h:50
_IMGINFO::iBits
INT iBits
Definition:
userinit.h:53
_IMGINFO::cySource
INT cySource
Definition:
userinit.h:51
_IMGINFO::hBitmap
HBITMAP hBitmap
Definition:
userinit.h:49
_LIVECD_UNATTEND
Definition:
livecd.c:15
_STATE
Definition:
nslookup.h:67
INT
int32_t INT
Definition:
typedefs.h:58
IN
#define IN
Definition:
typedefs.h:39
OUT
#define OUT
Definition:
typedefs.h:40
undocuser.h
RUN
RUN
Definition:
userinit.h:41
REBOOT
@ REBOOT
Definition:
userinit.h:44
INSTALLER
@ INSTALLER
Definition:
userinit.h:43
SHELL
@ SHELL
Definition:
userinit.h:42
PSTATE
struct STATE * PSTATE
IsLiveCD
BOOL IsLiveCD(VOID)
Definition:
livecd.c:106
PAGESTATE
PAGESTATE
Definition:
userinit.h:34
LOCALEPAGE
@ LOCALEPAGE
Definition:
userinit.h:35
DONE
@ DONE
Definition:
userinit.h:37
STARTPAGE
@ STARTPAGE
Definition:
userinit.h:36
hInstance
HINSTANCE hInstance
Definition:
charmap.c:19
IMGINFO
struct _IMGINFO IMGINFO
ReadRegSzKey
LONG ReadRegSzKey(IN HKEY hKey, IN LPCWSTR pszKey, OUT LPWSTR *pValue)
Definition:
userinit.c:39
RunLiveCD
VOID RunLiveCD(PSTATE State)
Definition:
livecd.c:886
PIMGINFO
struct _IMGINFO * PIMGINFO
resource.h
winbase.h
windef.h
wingdi.h
winnls.h
winreg.h
winuser.h
LPWSTR
WCHAR * LPWSTR
Definition:
xmlstorage.h:184
LPCWSTR
const WCHAR * LPCWSTR
Definition:
xmlstorage.h:185
base
system
userinit
userinit.h
Generated on Sun Feb 16 2025 06:02:41 for ReactOS by
1.9.6