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.

41 lines
896 B

  1. // menu commands
  2. // Options menu
  3. #define IDM_WIZARD 100
  4. #define IDM_EXIT 101
  5. // Help menu
  6. #define IDM_ABOUT 200
  7. // icons
  8. #define EXE_ICON 300
  9. // ids
  10. #define ID_EDITCHILD 1000
  11. // constants
  12. #define NUM_PAGES 3
  13. #define MAX_BUF 5000
  14. #define MAX_LINE 512
  15. // Function prototypes
  16. // procs
  17. long APIENTRY MainWndProc(HWND, UINT, UINT, LONG);
  18. BOOL APIENTRY About(HWND, UINT, UINT, LONG);
  19. // Pages for Wizard
  20. BOOL APIENTRY PageProc0(HWND, UINT, UINT, LONG);
  21. BOOL APIENTRY PageProc1(HWND, UINT, UINT, LONG);
  22. BOOL APIENTRY PageProc2(HWND, UINT, UINT, LONG);
  23. //functions
  24. BOOL InitApplication(HANDLE);
  25. BOOL InitInstance(HANDLE, int);
  26. int CreateWizard(HWND, HINSTANCE);
  27. void InitPropertyPage( PROPSHEETPAGE*,INT,DLGPROC,DWORD,LPARAM);
  28. void SetPageText(PROPSHEETPAGE *,INT,INT);
  29. void SetPageCaption(PROPSHEETPAGE *,INT);
  30. void GenerateResult(HWND);