reactos/base/system/userinit/userinit.h

82 lines
1.1 KiB
C
Raw Normal View History

/*
*/
#ifndef __USERINIT_H__
#define __USERINIT_H__
#include <stdio.h>
#include <stdlib.h>
/* PSDK/NDK Headers */
#define WIN32_NO_STATUS
#define _INC_WINDOWS
#define COM_NO_WINDOWS_H
#include <windef.h>
#include <winbase.h>
#include <wingdi.h>
#include <winreg.h>
#include <regstr.h>
#include <winnls.h>
#include <winuser.h>
#include <undocuser.h>
#include <strsafe.h>
#include <ndk/exfuncs.h>
#include <wine/debug.h>
WINE_DEFAULT_DEBUG_CHANNEL(userinit);
#include "resource.h"
typedef enum
{
LOCALEPAGE,
STARTPAGE,
DONE
} PAGESTATE;
typedef enum
{
SHELL,
INSTALLER,
REBOOT
} RUN;
typedef struct _IMGINFO
{
HBITMAP hBitmap;
INT cxSource;
INT cySource;
INT iPlanes;
INT iBits;
} IMGINFO, *PIMGINFO;
typedef struct
{
PAGESTATE NextPage;
RUN Run;
IMGINFO ImageInfo;
struct _LIVECD_UNATTEND* Unattend;
} STATE, *PSTATE;
extern HINSTANCE hInstance;
LONG
ReadRegSzKey(
IN HKEY hKey,
IN LPCWSTR pszKey,
OUT LPWSTR *pValue);
BOOL
IsLiveCD(VOID);
VOID
RunLiveCD(
PSTATE State);
#endif /* __USERINIT_H__ */