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.

65 lines
1.0 KiB

  1. /*++
  2. Copyright (C) Microsoft Corporation, 1997 - 1998
  3. Module Name:
  4. pmwmicnt.h
  5. Abstract:
  6. This file contains the prototypes of the routines to manage and
  7. maintain the disk perf counters.
  8. Author:
  9. Bruce Worthington 26-Oct-1998
  10. Environment:
  11. kernel mode only
  12. Notes:
  13. Revision History:
  14. --*/
  15. #include <ntddk.h>
  16. #include <ntddvol.h>
  17. #include <ntdddisk.h>
  18. NTSTATUS
  19. PmWmiCounterEnable(
  20. IN OUT PVOID* CounterContext
  21. );
  22. BOOLEAN
  23. PmWmiCounterDisable(
  24. IN PVOID* CounterContext,
  25. IN BOOLEAN ForceDisable,
  26. IN BOOLEAN DeallocateOnZero
  27. );
  28. VOID
  29. PmWmiCounterIoStart(
  30. IN PVOID CounterContext,
  31. OUT PLARGE_INTEGER TimeStamp
  32. );
  33. VOID
  34. PmWmiCounterIoComplete(
  35. IN PVOID CounterContext,
  36. IN PIRP Irp,
  37. IN PLARGE_INTEGER TimeStamp
  38. );
  39. VOID
  40. PmWmiCounterQuery(
  41. IN PVOID CounterContext,
  42. IN OUT PDISK_PERFORMANCE CounterBuffer,
  43. IN PWCHAR StorageManagerName,
  44. IN ULONG StorageDeviceNumber
  45. );