Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

52 lines
1.2 KiB

  1. /****************************************************************************
  2. Copyright (c) Microsoft Corporation 1997
  3. All rights reserved
  4. File: RBSETUP.H
  5. ***************************************************************************/
  6. #ifndef _RBINSTAL_H_
  7. #define _RBINSTAL_H_
  8. // Global macros
  9. #define ARRAYSIZE( _x ) ( sizeof( _x ) / sizeof( _x[ 0 ] ) )
  10. #define WM_STARTSETUP WM_USER + 0x200
  11. #define WMX_FORCEDREPAINT WM_USER + 0x210
  12. // Global structures
  13. typedef struct {
  14. BOOL fAcceptEULA:1;
  15. BOOL fCreateDirectory:1;
  16. BOOL fError:1;
  17. BOOL fAbort:1;
  18. BOOL fIntel:1;
  19. BOOL fAlpha:1;
  20. BOOL fKnowRBDirectory:1;
  21. TCHAR szRemoteBootPath[ MAX_PATH ];
  22. TCHAR szSourcePath[ MAX_PATH ];
  23. TCHAR szName[ MAX_PATH ];
  24. TCHAR szImagesPath[ MAX_PATH ];
  25. TCHAR szSetupPath[ MAX_PATH ];
  26. } OPTIONS, *LPOPTIONS;
  27. // Globals
  28. extern OPTIONS g_Options;
  29. extern HINSTANCE g_hinstance;
  30. extern HANDLE g_hGraphic;
  31. //
  32. // Stuff used for watermarking
  33. //
  34. extern CONST BITMAPINFOHEADER *g_pbihWatermark;
  35. extern PVOID g_pWatermarkBitmapBits;
  36. extern HPALETTE g_hWatermarkPalette;
  37. extern INT g_uWatermarkPaletteColorCount;
  38. extern WNDPROC g_OldWizardProc;
  39. #endif // _RBINSTAL_H_