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
1.1 KiB

  1. #ifndef _PERFDISK_H_
  2. #define _PERFDISK_H_
  3. #include "diskutil.h"
  4. //
  5. // Definition of handle table for disks
  6. //
  7. // Information for collecting disk driver statistics
  8. extern HANDLE hEventLog; // handle to event log
  9. extern LPWSTR wszTotal;
  10. extern BOOL bShownDiskPerfMessage; // flag to reduce eventlog noise
  11. extern BOOL bShownDiskVolumeMessage;
  12. extern const WCHAR szTotalValue[];
  13. extern const WCHAR szDefaultTotalString[];
  14. extern WMIHANDLE hWmiDiskPerf;
  15. extern LPBYTE WmiBuffer;
  16. extern PDRIVE_VOLUME_ENTRY pPhysDiskList;
  17. extern DWORD dwNumPhysDiskListEntries;
  18. extern PDRIVE_VOLUME_ENTRY pVolumeList;
  19. extern DWORD dwNumVolumeListEntries;
  20. extern BOOL bRemapDriveLetters;
  21. extern DWORD dwMaxVolumeNumber;
  22. extern DWORD dwWmiDriveCount;
  23. extern DOUBLE dSysTickTo100Ns;
  24. DWORD APIENTRY MapDriveLetters(); // function to map drive letters to volume or device name
  25. // logidisk.c
  26. PM_LOCAL_COLLECT_PROC CollectLDiskObjectData;
  27. // Physdisk.c
  28. PM_LOCAL_COLLECT_PROC CollectPDiskObjectData;
  29. #endif // _PERFDISK_H_