Something went wrong. Try again.
Reactos
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687/* */
#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;
LONGReadRegSzKey( IN HKEY hKey, IN LPCWSTR pszKey, OUT LPWSTR *pValue);
BOOLExpandInstallerPath( IN LPCWSTR lpInstallerName, OUT LPWSTR lpInstallerPath, IN SIZE_T PathSize);
BOOLIsLiveCD(VOID);
VOIDRunLiveCD( PSTATE State);
#endif /* __USERINIT_H__ */