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.

63 lines
1.9 KiB

  1. #ifndef _CABSH_H
  2. #define _CABSH_H
  3. // Define structure to be used at head of state stream that is
  4. // not dependent on 16 or 32 bits...
  5. typedef struct _CABSHOLD // Cabinet Stream header
  6. {
  7. DWORD dwSize; // Offset to where the View streamed additional info
  8. // First stuff from the window placement
  9. DWORD flags;
  10. DWORD showCmd;
  11. POINTL ptMinPosition;
  12. POINTL ptMaxPosition;
  13. RECTL rcNormalPosition;
  14. // Stuff from Folder Settings;
  15. DWORD ViewMode; // View mode (FOLDERVIEWMODE values)
  16. DWORD fFlags; // View options (FOLDERFLAGS bits)
  17. DWORD TreeSplit; // Position of split in pixels
  18. // Hot Key
  19. DWORD dwHotkey; // Hotkey
  20. WINVIEW wv;
  21. } CABSHOLD;
  22. typedef struct _CABSH // Cabinet Stream header
  23. {
  24. DWORD dwSize; // Offset to where the View streamed additional info
  25. // First stuff from the window placement
  26. DWORD flags;
  27. DWORD showCmd;
  28. POINTL ptMinPosition;
  29. POINTL ptMaxPosition;
  30. RECTL rcNormalPosition;
  31. // Stuff from Folder Settings;
  32. DWORD ViewMode; // View mode (FOLDERVIEWMODE values)
  33. DWORD fFlags; // View options (FOLDERFLAGS bits)
  34. DWORD TreeSplit; // Position of split in pixels
  35. // Hot Key
  36. DWORD dwHotkey; // Hotkey
  37. WINVIEW wv;
  38. DWORD fMask; // Flags specifying which fields are valid
  39. SHELLVIEWID vid; // extended view id
  40. DWORD dwVersionId; // CABSH_VER below
  41. DWORD dwRevCount; // rev count of default settings when the folder was saved to the stream
  42. } CABSH;
  43. #define CABSHM_VIEWID 0x00000001
  44. #define CABSHM_VERSION 0x00000002
  45. #define CABSHM_REVCOUNT 0x00000004
  46. #define CABSH_VER 1 // change this version whenever we want to change defaults
  47. #define CABSH_WIN95_VER 0 // this was the pre-ie4 version number
  48. #endif // _CABSH_H