- Synchronize up to trunk's revision r57864.
[reactos.git] / drivers / wmi / wmilib.c
1 /*
2 * PROJECT: ReactOS WMI driver
3 * COPYRIGHT: GPL - See COPYING in the top level directory
4 * FILE: drivers/wmi/wmilib.c
5 * PURPOSE: Windows Management Intstrumentation
6 * PROGRAMMERS: Aleksey Bragin (aleksey@reactos.org)
7 *
8 */
9
10 /* INCLUDES *****************************************************************/
11
12 #include <stdio.h>
13 #include <ntddk.h>
14 #include <wmilib.h>
15
16 #define NDEBUG
17 #include <debug.h>
18
19 /* FUNCTIONS ****************************************************************/
20
21
22 NTSTATUS
23 NTAPI
24 WmiCompleteRequest(IN PDEVICE_OBJECT DeviceObject,
25 IN PIRP Irp,
26 IN NTSTATUS Status,
27 IN ULONG BufferUsed,
28 IN CCHAR PriorityBoost)
29 {
30 DPRINT1("WmiLib: WmiCompleteRequest() unimplemented\n");
31 return STATUS_SUCCESS;
32 }
33
34 NTSTATUS
35 NTAPI
36 WmiFireEvent(IN PDEVICE_OBJECT DeviceObject,
37 IN LPCGUID Guid,
38 IN ULONG InstanceIndex,
39 IN ULONG EventDataSize,
40 IN PVOID EventData)
41 {
42 DPRINT1("WmiLib: WmiFireEvent() unimplemented\n");
43 return STATUS_SUCCESS;
44 }
45
46 NTSTATUS
47 NTAPI
48 WmiSystemControl(IN PWMILIB_CONTEXT WmiLibInfo,
49 IN PDEVICE_OBJECT DeviceObject,
50 IN PIRP Irp,
51 OUT PSYSCTL_IRP_DISPOSITION IrpDisposition)
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 }