cgutman(a)svn.reactos.org wrote:
+BCLASSAPI
+NTSTATUS
+DDKAPI
+BatteryClassSystemControl(PVOID ClassData,
+ PWMILIB_CONTEXT WmiLibContext,
+ PDEVICE_OBJECT DeviceObject,
+ PIRP Irp,
+ PSYSCTL_IRP_DISPOSITION Disposition)
+{
+ NTSTATUS Status;
+
+ UNIMPLEMENTED
+
+ /* FIXME: Uncomment when WmiCompleteRequest is implemented */
+#if 0
+ Status = STATUS_WMI_GUID_NOT_FOUND;
+ WmiCompleteRequest(DeviceObject,
+ Irp,
+ Status,
+ 0,
+ IO_NO_INCREMENT);
+#else
+ Irp->IoStatus.Status = Status = STATUS_WMI_GUID_NOT_FOUND;
+ Irp->IoStatus.Information = 0;
+
+ IoCompleteRequest(Irp, IO_NO_INCREMENT);
+#endif
+
+ return Status;
+}
+
This isn't how WMI works at all