reactos/drivers/wmi/wmilib.c
2021-06-11 15:33:08 +03:00

61 lines
1.5 KiB
C

/*
* PROJECT: ReactOS WMI driver
* COPYRIGHT: GPL - See COPYING in the top level directory
* FILE: drivers/wmi/wmilib.c
* PURPOSE: Windows Management Instrumentation
* PROGRAMMERS: Aleksey Bragin (aleksey@reactos.org)
*
*/
/* INCLUDES *****************************************************************/
#include <stdio.h>
#include <ntddk.h>
#include <wmilib.h>
#define NDEBUG
#include <debug.h>
/* FUNCTIONS ****************************************************************/
NTSTATUS
NTAPI
WmiCompleteRequest(IN PDEVICE_OBJECT DeviceObject,
IN PIRP Irp,
IN NTSTATUS Status,
IN ULONG BufferUsed,
IN CCHAR PriorityBoost)
{
DPRINT1("WmiLib: WmiCompleteRequest() unimplemented\n");
return STATUS_SUCCESS;
}
NTSTATUS
NTAPI
WmiFireEvent(IN PDEVICE_OBJECT DeviceObject,
IN LPCGUID Guid,
IN ULONG InstanceIndex,
IN ULONG EventDataSize,
IN PVOID EventData)
{
DPRINT1("WmiLib: WmiFireEvent() unimplemented\n");
return STATUS_SUCCESS;
}
NTSTATUS
NTAPI
WmiSystemControl(IN PWMILIB_CONTEXT WmiLibInfo,
IN PDEVICE_OBJECT DeviceObject,
IN PIRP Irp,
OUT PSYSCTL_IRP_DISPOSITION IrpDisposition)
{
DPRINT1("WmiLib: WmiSystemControl() unimplemented\n");
/* Return info that Irp is not completed */
if (IrpDisposition)
*IrpDisposition = IrpNotCompleted;
return STATUS_SUCCESS;
}