[DDK]: Fix Wmilib.h.
authorSir Richard <sir_richard@svn.reactos.org>
Sat, 13 Mar 2010 20:42:53 +0000 (20:42 +0000)
committerSir Richard <sir_richard@svn.reactos.org>
Sat, 13 Mar 2010 20:42:53 +0000 (20:42 +0000)
svn path=/trunk/; revision=46185

reactos/include/ddk/wmilib.h

index 18d63ad..22bb087 100644 (file)
@@ -22,17 +22,6 @@ typedef struct _WMIGUIDREGINFO {
   ULONG Flags;
 } WMIGUIDREGINFO, *PWMIGUIDREGINFO;
 
-typedef struct _WMILIB_CONTEXT {
-  ULONG GuidCount;
-  PWMIGUIDREGINFO GuidList;
-  PWMI_QUERY_REGINFO QueryWmiRegInfo;
-  PWMI_QUERY_DATABLOCK QueryWmiDataBlock;
-  PWMI_SET_DATABLOCK SetWmiDataBlock;
-  PWMI_SET_DATAITEM SetWmiDataItem;
-  PWMI_EXECUTE_METHOD ExecuteWmiMethod;
-  PWMI_FUNCTION_CONTROL WmiFunctionControl;
-} WMILIB_CONTEXT, *PWMILIB_CONTEXT;
-
 typedef NTSTATUS
 (NTAPI *PWMI_QUERY_REGINFO) (
   IN OUT PDEVICE_OBJECT DeviceObject,
@@ -91,6 +80,17 @@ typedef NTSTATUS
   IN WMIENABLEDISABLECONTROL Function,
   IN BOOLEAN Enable);
 
+typedef struct _WMILIB_CONTEXT {
+  ULONG GuidCount;
+  PWMIGUIDREGINFO GuidList;
+  PWMI_QUERY_REGINFO QueryWmiRegInfo;
+  PWMI_QUERY_DATABLOCK QueryWmiDataBlock;
+  PWMI_SET_DATABLOCK SetWmiDataBlock;
+  PWMI_SET_DATAITEM SetWmiDataItem;
+  PWMI_EXECUTE_METHOD ExecuteWmiMethod;
+  PWMI_FUNCTION_CONTROL WmiFunctionControl;
+} WMILIB_CONTEXT, *PWMILIB_CONTEXT;
+
 #if (NTDDI_VERSION >= NTDDI_WIN2K)
 
 NTSTATUS