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.

50 lines
1.2 KiB

  1. #define VALID 0
  2. #define INVALID 1
  3. #define POSTPONE 2
  4. #define DOCANCEL 3
  5. extern BOOL fUserQuit;
  6. #define PRO_CLASS "PRO"
  7. #define ID_CANCEL 2
  8. #define ID_STATUS0 4000
  9. #define ID_STATUS1 (ID_STATUS0 + 1)
  10. #define ID_STATUS2 (ID_STATUS0 + 2)
  11. #define ID_STATUS3 (ID_STATUS0 + 3)
  12. #define ID_STATUS4 (ID_STATUS0 + 4)
  13. #define DLG_PROGRESS 400
  14. #define ID_BAR 401
  15. INT_PTR APIENTRY ProDlgProc(HWND, UINT, WPARAM, LPARAM);
  16. LRESULT APIENTRY ProBarProc(HWND, UINT, WPARAM, LPARAM);
  17. BOOL
  18. ControlInit(
  19. IN BOOL Init
  20. );
  21. BOOL
  22. ProInit(
  23. IN BOOL Init
  24. );
  25. VOID APIENTRY ProClear(HWND hDlg);
  26. HWND APIENTRY ProOpen(HWND,INT);
  27. BOOL APIENTRY ProClose(HWND);
  28. BOOL APIENTRY ProSetCaption (LPSTR);
  29. BOOL APIENTRY ProSetBarRange(INT);
  30. BOOL APIENTRY ProSetBarPos(INT);
  31. BOOL APIENTRY ProDeltaPos(INT);
  32. BOOL APIENTRY ProSetText(INT, LPSTR);
  33. LRESULT APIENTRY fnText(HWND, UINT, WPARAM, LPARAM);
  34. VOID APIENTRY wsDlgInit(HWND);
  35. BOOL APIENTRY fnErrorMsg(INT);
  36. #define BAR_RANGE 0
  37. #define BAR_POS 2
  38. #define BAR_SETRANGE WM_USER+BAR_RANGE
  39. #define BAR_SETPOS WM_USER+BAR_POS
  40. #define BAR_DELTAPOS WM_USER+4