reactos/drivers/wmi/wmilib.c
Amine Khaldi c424146e2c Create a branch for cmake bringup.
svn path=/branches/cmake-bringup/; revision=48236
2010-07-24 18:52:44 +00:00

60 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 Intstrumentation
* 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;
}