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.

88 lines
1.8 KiB

  1. /*++
  2. Copyright (C) 1997-99 Microsoft Corporation
  3. Module Name:
  4. wmi.h
  5. Abstract:
  6. --*/
  7. #if !defined (___wmi_h___)
  8. #define ___wmi_h___
  9. typedef struct _WMI_SCSI_ADDRESS {
  10. UCHAR Bus;
  11. UCHAR Target;
  12. UCHAR Lun;
  13. } WMI_SCSI_ADDRESS, *PWMI_SCSI_ADDRESS;
  14. VOID
  15. IdePortWmiInit (
  16. VOID
  17. );
  18. NTSTATUS
  19. IdePortWmiRegister(
  20. PDEVICE_EXTENSION_HEADER DoCommonExtension
  21. );
  22. NTSTATUS
  23. IdePortWmiDeregister(
  24. PDEVICE_EXTENSION_HEADER DoCommonExtension
  25. );
  26. NTSTATUS
  27. IdePortWmiSystemControl(
  28. IN PDEVICE_OBJECT DeviceObject,
  29. IN PIRP Irp
  30. );
  31. NTSTATUS
  32. DeviceQueryWmiDataBlock(
  33. IN PDEVICE_OBJECT DeviceObject,
  34. IN PIRP Irp,
  35. IN ULONG GuidIndex,
  36. IN ULONG InstanceIndex,
  37. IN ULONG InstanceCount,
  38. IN OUT PULONG InstanceLengthArray,
  39. IN ULONG OutBufferSize,
  40. OUT PUCHAR Buffer
  41. );
  42. NTSTATUS
  43. DeviceQueryWmiRegInfo(
  44. IN PDEVICE_OBJECT DeviceObject,
  45. OUT PULONG RegFlags,
  46. OUT PUNICODE_STRING InstanceName,
  47. OUT PUNICODE_STRING *RegistryPath,
  48. OUT PUNICODE_STRING MofResourceName,
  49. OUT PDEVICE_OBJECT *Pdo
  50. );
  51. NTSTATUS
  52. DeviceSetWmiDataBlock(
  53. IN PDEVICE_OBJECT DeviceObject,
  54. IN PIRP Irp,
  55. IN ULONG GuidIndex,
  56. IN ULONG InstanceIndex,
  57. IN ULONG BufferSize,
  58. IN PUCHAR Buffer
  59. );
  60. NTSTATUS
  61. DeviceSetWmiDataItem(
  62. IN PDEVICE_OBJECT DeviceObject,
  63. IN PIRP Irp,
  64. IN ULONG GuidIndex,
  65. IN ULONG InstanceIndex,
  66. IN ULONG DataItemId,
  67. IN ULONG BufferSize,
  68. IN PUCHAR Buffer
  69. );
  70. #endif // ___wmi_h___