mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
60 lines
1.5 KiB
C
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 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;
|
|
}
|