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.

68 lines
1.1 KiB

  1. /*++
  2. Copyright (C) 1991-5 Microsoft Corporation
  3. Module Name:
  4. ftwmireg.h
  5. Abstract:
  6. This file contains prototypes for routines to register for and response
  7. to WMI queries.
  8. Author:
  9. Bruce Worthington 26-Oct-1998
  10. Environment:
  11. kernel mode only
  12. Notes:
  13. Revision History:
  14. --*/
  15. extern "C" {
  16. #include <ntddk.h>
  17. NTSTATUS FtRegisterDevice(
  18. IN PDEVICE_OBJECT DeviceObject
  19. );
  20. NTSTATUS
  21. FtQueryWmiRegInfo(
  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. FtQueryWmiDataBlock(
  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. FtQueryEnableAlways(
  42. IN PDEVICE_OBJECT DeviceObject
  43. );
  44. extern WMIGUIDREGINFO DiskperfGuidList[];
  45. extern ULONG DiskperfGuidCount;
  46. }