ReactOS  0.4.14-dev-49-gfb4591c
wmilib.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _WMIGUIDREGINFO
 
struct  _WMILIB_CONTEXT
 

Typedefs

typedef enum _WMIENABLEDISABLECONTROL WMIENABLEDISABLECONTROL
 
typedef enum _WMIENABLEDISABLECONTROLPWMIENABLEDISABLECONTROL
 
typedef enum _SYSCTL_IRP_DISPOSITION SYSCTL_IRP_DISPOSITION
 
typedef enum _SYSCTL_IRP_DISPOSITIONPSYSCTL_IRP_DISPOSITION
 
typedef struct _WMIGUIDREGINFO WMIGUIDREGINFO
 
typedef struct _WMIGUIDREGINFOPWMIGUIDREGINFO
 
typedef NTSTATUS(NTAPIPWMI_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)
 
typedef NTSTATUS(NTAPIPWMI_FUNCTION_CONTROL) (IN OUT PDEVICE_OBJECT DeviceObject, IN OUT PIRP Irp, IN ULONG GuidIndex, IN WMIENABLEDISABLECONTROL Function, IN BOOLEAN Enable)
 
typedef NTSTATUS(NTAPIPWMI_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)
 
typedef NTSTATUS(NTAPIPWMI_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)
 
typedef NTSTATUS(NTAPIPWMI_SET_DATABLOCK) (IN OUT PDEVICE_OBJECT DeviceObject, IN OUT PIRP Irp, IN ULONG GuidIndex, IN ULONG InstanceIndex, IN ULONG BufferSize, IN PUCHAR Buffer)
 
typedef NTSTATUS(NTAPIPWMI_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)
 
typedef struct _WMILIB_CONTEXT WMILIB_CONTEXT
 
typedef struct _WMILIB_CONTEXTPWMILIB_CONTEXT
 

Enumerations

enum  _WMIENABLEDISABLECONTROL { WmiEventControl, WmiDataBlockControl }
 
enum  _SYSCTL_IRP_DISPOSITION { IrpProcessed, IrpNotCompleted, IrpNotWmi, IrpForward }
 

Functions

NTSTATUS NTAPI WmiCompleteRequest (IN PDEVICE_OBJECT DeviceObject, IN OUT PIRP Irp, IN NTSTATUS Status, IN ULONG BufferUsed, IN CCHAR PriorityBoost)
 
NTSTATUS NTAPI WmiSystemControl (IN PWMILIB_CONTEXT WmiLibInfo, IN PDEVICE_OBJECT DeviceObject, IN OUT PIRP Irp, OUT PSYSCTL_IRP_DISPOSITION IrpDisposition)
 
NTSTATUS NTAPI WmiFireEvent (IN PDEVICE_OBJECT DeviceObject, IN LPCGUID Guid, IN ULONG InstanceIndex, IN ULONG EventDataSize, IN PVOID EventData)
 

Typedef Documentation

◆ PSYSCTL_IRP_DISPOSITION

◆ PWMI_EXECUTE_METHOD

◆ PWMI_FUNCTION_CONTROL

Definition at line 35 of file wmilib.h.

◆ PWMI_QUERY_DATABLOCK

Definition at line 43 of file wmilib.h.

◆ PWMI_QUERY_REGINFO

◆ PWMI_SET_DATABLOCK

Definition at line 65 of file wmilib.h.

◆ PWMI_SET_DATAITEM

◆ PWMIENABLEDISABLECONTROL

◆ PWMIGUIDREGINFO

◆ PWMILIB_CONTEXT

◆ SYSCTL_IRP_DISPOSITION

◆ WMIENABLEDISABLECONTROL

◆ WMIGUIDREGINFO

◆ WMILIB_CONTEXT

Enumeration Type Documentation

◆ _SYSCTL_IRP_DISPOSITION

Enumerator
IrpProcessed 
IrpNotCompleted 
IrpNotWmi 
IrpForward 

Definition at line 12 of file wmilib.h.

12  {
15  IrpNotWmi,
enum _SYSCTL_IRP_DISPOSITION SYSCTL_IRP_DISPOSITION
enum _SYSCTL_IRP_DISPOSITION * PSYSCTL_IRP_DISPOSITION

◆ _WMIENABLEDISABLECONTROL

Enumerator
WmiEventControl 
WmiDataBlockControl 

Definition at line 7 of file wmilib.h.

7  {
enum _WMIENABLEDISABLECONTROL WMIENABLEDISABLECONTROL
enum _WMIENABLEDISABLECONTROL * PWMIENABLEDISABLECONTROL

Function Documentation

◆ WmiCompleteRequest()

NTSTATUS NTAPI WmiCompleteRequest ( IN PDEVICE_OBJECT  DeviceObject,
IN OUT PIRP  Irp,
IN NTSTATUS  Status,
IN ULONG  BufferUsed,
IN CCHAR  PriorityBoost 
)

◆ WmiFireEvent()

NTSTATUS NTAPI WmiFireEvent ( IN PDEVICE_OBJECT  DeviceObject,
IN LPCGUID  Guid,
IN ULONG  InstanceIndex,
IN ULONG  EventDataSize,
IN PVOID  EventData 
)

Definition at line 36 of file wmilib.c.

41 {
42  DPRINT1("WmiLib: WmiFireEvent() unimplemented\n");
43  return STATUS_SUCCESS;
44 }
#define DPRINT1
Definition: precomp.h:8
return STATUS_SUCCESS
Definition: btrfs.c:2966

◆ WmiSystemControl()

NTSTATUS NTAPI WmiSystemControl ( IN PWMILIB_CONTEXT  WmiLibInfo,
IN PDEVICE_OBJECT  DeviceObject,
IN OUT PIRP  Irp,
OUT PSYSCTL_IRP_DISPOSITION  IrpDisposition 
)