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.

69 lines
1.3 KiB

  1. /*++
  2. Copyright (c) Microsoft Corporation
  3. Module Name :
  4. diskprop.h
  5. Abstract :
  6. Definition file for the Disk Class Installer and its Policies Tab
  7. Revision History :
  8. --*/
  9. #ifndef __STORPROP_DISKPROP_H_
  10. #define __STORPROP_DISKPROP_H_
  11. #define DISKCIPRIVATEDATA_NO_REBOOT_REQUIRED 0x4
  12. const DWORD DiskHelpIDs[]=
  13. {
  14. IDC_DISK_POLICY_WRITE_CACHE, 400900,
  15. 0, 0
  16. };
  17. typedef struct _DISK_PAGE_DATA
  18. {
  19. HDEVINFO DeviceInfoSet;
  20. PSP_DEVINFO_DATA DeviceInfoData;
  21. //
  22. // This field represents whether disk
  23. // level write caching may be modified
  24. //
  25. BOOL IsCachingPolicy;
  26. BOOL OrigWriteCacheSetting;
  27. BOOL CurrWriteCacheSetting;
  28. DISK_CACHE_SETTING CacheSetting;
  29. BOOL CurrentIsPowerProtected;
  30. DWORD DefaultRemovalPolicy;
  31. DWORD CurrentRemovalPolicy;
  32. STORAGE_HOTPLUG_INFO HotplugInfo;
  33. //
  34. // This field is set when the device stack
  35. // is being torn down which happens during
  36. // a removal policy change
  37. //
  38. BOOL IsBusy;
  39. } DISK_PAGE_DATA, *PDISK_PAGE_DATA;
  40. INT_PTR
  41. DiskDialogProc(HWND Dialog, UINT Message, WPARAM WParam, LPARAM LParam);
  42. BOOL
  43. DiskDialogCallback(HWND Dialog, UINT Message, LPPROPSHEETPAGE Page);
  44. #endif // __STORPROP_DISKPROP_H_