/* */ #ifndef __USERINIT_H__ #define __USERINIT_H__ #include #include /* PSDK/NDK Headers */ #define WIN32_NO_STATUS #define _INC_WINDOWS #define COM_NO_WINDOWS_H #include #include #include #include #include #include #include #include #include #include #include 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__ */