ReactOS 0.4.15-dev-8227-g32d615f
wmilib.c File Reference
#include <stdio.h>
#include <ntddk.h>
#include <wmilib.h>
#include <debug.h>
Include dependency graph for wmilib.c:

Go to the source code of this file.

Macros

#define NDEBUG
 

Functions

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

Macro Definition Documentation

◆ NDEBUG

#define NDEBUG

Definition at line 16 of file wmilib.c.

Function Documentation

◆ WmiCompleteRequest()

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

Definition at line 24 of file wmilib.c.

29{
30 DPRINT1("WmiLib: WmiCompleteRequest() unimplemented\n");
31 return STATUS_SUCCESS;
32}
#define DPRINT1
Definition: precomp.h:8
#define STATUS_SUCCESS
Definition: shellext.h:65

Referenced by FreeBT_QueryWmiDataBlock(), FreeBT_SetWmiDataBlock(), FreeBT_SetWmiDataItem(), and InPortQueryWmiDataBlock().

◆ 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}

◆ WmiSystemControl()

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

Definition at line 48 of file wmilib.c.

52{
53 DPRINT1("WmiLib: WmiSystemControl() unimplemented\n");
54
55 /* Return info that Irp is not completed */
56 if (IrpDisposition)
57 *IrpDisposition = IrpNotCompleted;
58
59 return STATUS_SUCCESS;
60}
@ IrpNotCompleted
Definition: wmilib.h:14

Referenced by CmBattSystemControl(), FreeBT_DispatchSysCtrl(), and InPortWmi().