2007-02-04 16:21:27 +00:00
|
|
|
/*
|
2009-01-26 07:29:08 +00:00
|
|
|
* PROJECT: ReactOS WMI driver
|
2007-02-04 16:21:27 +00:00
|
|
|
* COPYRIGHT: GPL - See COPYING in the top level directory
|
2009-01-26 07:29:08 +00:00
|
|
|
* FILE: drivers/wmi/wmilib.c
|
|
|
|
* PURPOSE: Windows Management Intstrumentation
|
|
|
|
* PROGRAMMERS: Aleksey Bragin (aleksey@reactos.org)
|
|
|
|
*
|
2007-02-04 16:21:27 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
/* INCLUDES *****************************************************************/
|
|
|
|
|
|
|
|
#include <stdio.h>
|
|
|
|
#include <ntddk.h>
|
2010-04-07 15:16:21 +00:00
|
|
|
#include <wmilib.h>
|
2007-02-04 16:21:27 +00:00
|
|
|
|
|
|
|
#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,
|
2010-04-09 15:35:53 +00:00
|
|
|
IN LPCGUID Guid,
|
2007-02-04 16:21:27 +00:00
|
|
|
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;
|
|
|
|
}
|