94#if (NTDDI_VERSION >= NTDDI_WIN2K)
_In_ CDROM_SCAN_FOR_SPECIAL_INFO _In_ PCDROM_SCAN_FOR_SPECIAL_HANDLER Function
_In_ LPGUID _In_ ULONG InstanceIndex
_In_ PIRP _In_ ULONG GuidIndex
_In_ PIRP _In_ ULONG _In_ ULONG BufferAvail
_Must_inspect_result_ _Inout_ PFLT_VOLUME _In_opt_ PCUNICODE_STRING InstanceName
_In_ ULONGLONG _In_ ULONGLONG _In_ BOOLEAN Enable
PWMI_SET_DATAITEM SetWmiDataItem
PWMI_EXECUTE_METHOD ExecuteWmiMethod
PWMI_QUERY_DATABLOCK QueryWmiDataBlock
PWMI_SET_DATABLOCK SetWmiDataBlock
PWMI_QUERY_REGINFO QueryWmiRegInfo
PWMI_FUNCTION_CONTROL WmiFunctionControl
_In_ PDEVICE_OBJECT DeviceObject
_Must_inspect_result_ _In_ WDFDEVICE _In_ PCUNICODE_STRING MofResourceName
_Must_inspect_result_ _In_ PDRIVER_OBJECT _In_ PCUNICODE_STRING RegistryPath
WDF_EXTERN_C_START typedef _Must_inspect_result_ _In_ WDFDRIVER _In_opt_ PWDF_OBJECT_ATTRIBUTES _In_ PDEVICE_OBJECT _In_opt_ PDEVICE_OBJECT _In_opt_ PDEVICE_OBJECT Pdo
_Must_inspect_result_ _In_ WDFOBJECT _In_ CONST GUID * Guid
_In_ WDFREQUEST _In_ NTSTATUS _In_ CCHAR PriorityBoost
_In_ ULONG _Out_ PULONG BufferUsed
_Must_inspect_result_ _In_ WDFWMIINSTANCE _In_opt_ ULONG EventDataSize
NTSTATUS NTAPI WmiSystemControl(IN PWMILIB_CONTEXT WmiLibInfo, IN PDEVICE_OBJECT DeviceObject, IN OUT PIRP Irp, OUT PSYSCTL_IRP_DISPOSITION IrpDisposition)
struct _WMIGUIDREGINFO * PWMIGUIDREGINFO
NTSTATUS NTAPI WmiCompleteRequest(IN PDEVICE_OBJECT DeviceObject, IN OUT PIRP Irp, IN NTSTATUS Status, IN ULONG BufferUsed, IN CCHAR PriorityBoost)
enum _WMIENABLEDISABLECONTROL WMIENABLEDISABLECONTROL
struct _WMILIB_CONTEXT WMILIB_CONTEXT
NTSTATUS(NTAPI * PWMI_EXECUTE_METHOD)(IN OUT PDEVICE_OBJECT DeviceObject, IN OUT PIRP Irp, IN ULONG GuidIndex, IN ULONG InstanceIndex, IN ULONG MethodId, IN ULONG InBufferSize, IN ULONG OutBufferSize, IN OUT PUCHAR Buffer)
NTSTATUS(NTAPI * PWMI_QUERY_DATABLOCK)(IN OUT PDEVICE_OBJECT DeviceObject, IN OUT PIRP Irp, IN ULONG GuidIndex, IN ULONG InstanceIndex, IN ULONG InstanceCount, OUT PULONG InstanceLengthArray OPTIONAL, IN ULONG BufferAvail, OUT PUCHAR Buffer OPTIONAL)
NTSTATUS(NTAPI * PWMI_SET_DATAITEM)(IN OUT PDEVICE_OBJECT DeviceObject, IN OUT PIRP Irp, IN ULONG GuidIndex, IN ULONG InstanceIndex, IN ULONG DataItemId, IN ULONG BufferSize, IN PUCHAR Buffer)
enum _WMIENABLEDISABLECONTROL * PWMIENABLEDISABLECONTROL
struct _WMIGUIDREGINFO WMIGUIDREGINFO
enum _SYSCTL_IRP_DISPOSITION SYSCTL_IRP_DISPOSITION
NTSTATUS(NTAPI * PWMI_FUNCTION_CONTROL)(IN OUT PDEVICE_OBJECT DeviceObject, IN OUT PIRP Irp, IN ULONG GuidIndex, IN WMIENABLEDISABLECONTROL Function, IN BOOLEAN Enable)
NTSTATUS NTAPI WmiFireEvent(IN PDEVICE_OBJECT DeviceObject, IN LPCGUID Guid, IN ULONG InstanceIndex, IN ULONG EventDataSize, IN PVOID EventData)
enum _SYSCTL_IRP_DISPOSITION * PSYSCTL_IRP_DISPOSITION
NTSTATUS(NTAPI * PWMI_SET_DATABLOCK)(IN OUT PDEVICE_OBJECT DeviceObject, IN OUT PIRP Irp, IN ULONG GuidIndex, IN ULONG InstanceIndex, IN ULONG BufferSize, IN PUCHAR Buffer)
struct _WMILIB_CONTEXT * PWMILIB_CONTEXT
NTSTATUS(NTAPI * PWMI_QUERY_REGINFO)(IN OUT PDEVICE_OBJECT DeviceObject, IN OUT PULONG RegFlags, IN OUT PUNICODE_STRING InstanceName, OUT PUNICODE_STRING *RegistryPath OPTIONAL, IN OUT PUNICODE_STRING MofResourceName, OUT PDEVICE_OBJECT *Pdo OPTIONAL)