Leaked source code of windows server 2003
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.

80 lines
1.8 KiB

  1. #define SYSID_FT 0x80
  2. #define LEGEND_STRING_COUNT 5
  3. #define STATUS_TEXT_SIZE 250
  4. #define NUM_AVAILABLE_COLORS 16
  5. #define NUM_AVAILABLE_HATCHES 5
  6. // brushes for drawing rectangles
  7. #define BRUSH_USEDPRIMARY 0
  8. #define BRUSH_USEDLOGICAL 1
  9. #define BRUSH_STRIPESET 2
  10. #define BRUSH_MIRROR 3
  11. #define BRUSH_VOLUMESET 4
  12. #define BRUSH_ARRAY_SIZE LEGEND_STRING_COUNT
  13. // see AvailableHatches[] in fddata.c
  14. #define DEFAULT_HATCH_USEDPRIMARY 4
  15. #define DEFAULT_HATCH_USEDLOGICAL 4
  16. #define DEFAULT_HATCH_STRIPESET 4
  17. #define DEFAULT_HATCH_MIRROR 4
  18. #define DEFAULT_HATCH_VOLUMESET 4
  19. // see AvailableColors[] in fddata.c
  20. #define DEFAULT_COLOR_USEDPRIMARY 9
  21. #define DEFAULT_COLOR_USEDLOGICAL 15
  22. #define DEFAULT_COLOR_STRIPESET 14
  23. #define DEFAULT_COLOR_MIRROR 5
  24. #define DEFAULT_COLOR_VOLUMESET 10
  25. #define MESSAGE_BUFFER_SIZE 4096
  26. #define ID_LISTBOX 0xcac
  27. // thickness of the border indicating selection of a region
  28. #define SELECTION_THICKNESS 2
  29. //
  30. // define constants for use with drive letter assignments.
  31. // use arbitrary symbols that won't ever be drive letters themselves.
  32. #define NO_DRIVE_LETTER_YET '#'
  33. #define NO_DRIVE_LETTER_EVER '%'
  34. // notification codes
  35. #define RN_CLICKED 213
  36. // window messages
  37. #define RM_SELECT WM_USER
  38. // window extra
  39. #define RECTCONTROL_WNDEXTRA 2
  40. #define GWW_SELECTED 0
  41. // custom windows message for F1 key
  42. #define WM_F1DOWN (WM_USER + 0x17a)
  43. #define MBOOT_CODE_SIZE 0x1b8
  44. #define MBOOT_SIG_OFFSET 0x1fe
  45. #define MBOOT_SIG1 0x55
  46. #define MBOOT_SIG2 0xaa