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.

66 lines
1.1 KiB

  1. /*++
  2. Copyright (C) Microsoft Corporation, 1997 - 1998
  3. Module Name:
  4. pmwmireg.h
  5. Abstract:
  6. This file contains the prototypes of the routines to register for
  7. and handle WMI queries.
  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 <wdmguid.h>
  17. NTSTATUS PmRegisterDevice(
  18. IN PDEVICE_OBJECT DeviceObject
  19. );
  20. NTSTATUS
  21. PmQueryWmiRegInfo(
  22. IN PDEVICE_OBJECT DeviceObject,
  23. OUT ULONG *RegFlags,
  24. OUT PUNICODE_STRING InstanceName,
  25. OUT PUNICODE_STRING *RegistryPath,
  26. OUT PUNICODE_STRING MofResourceName,
  27. OUT PDEVICE_OBJECT *Pdo
  28. );
  29. NTSTATUS
  30. PmQueryWmiDataBlock(
  31. IN PDEVICE_OBJECT DeviceObject,
  32. IN PIRP Irp,
  33. IN ULONG GuidIndex,
  34. IN ULONG InstanceIndex,
  35. IN ULONG InstanceCount,
  36. IN OUT PULONG InstanceLengthArray,
  37. IN ULONG BufferAvail,
  38. OUT PUCHAR Buffer
  39. );
  40. BOOLEAN
  41. PmQueryEnableAlways(
  42. IN PDEVICE_OBJECT DeviceObject
  43. );
  44. extern WMIGUIDREGINFO DiskperfGuidList[];
  45. extern ULONG DiskperfGuidCount;