mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-03 04:13:31 +00:00
[BATTC]
- Correct BatteryClassSystemControl params - Include wmlib.h [WMLIB] - Add WMIENABLEDISABLECONTROL and SYSCTL_IRP_DISPOSITION svn path=/branches/header-work/; revision=46144
This commit is contained in:
@@ -46,10 +46,10 @@ BCLASSAPI
|
||||
NTSTATUS
|
||||
DDKAPI
|
||||
BatteryClassSystemControl(PVOID ClassData,
|
||||
PWMILIB_CONTEXT WmiLibContext,
|
||||
PVOID WmiLibContext,
|
||||
PDEVICE_OBJECT DeviceObject,
|
||||
PIRP Irp,
|
||||
PSYSCTL_IRP_DISPOSITION Disposition)
|
||||
PVOID Disposition)
|
||||
{
|
||||
NTSTATUS Status;
|
||||
|
||||
|
||||
@@ -9,6 +9,7 @@
|
||||
#pragma once
|
||||
|
||||
#include <ntddk.h>
|
||||
#include <wmlib.h>
|
||||
#include <initguid.h>
|
||||
#include <batclass.h>
|
||||
|
||||
|
||||
@@ -12,6 +12,18 @@ typedef struct _WMIGUIDREGINFO {
|
||||
ULONG Flags;
|
||||
} WMIGUIDREGINFO, *PWMIGUIDREGINFO;
|
||||
|
||||
typedef enum _WMIENABLEDISABLECONTROL {
|
||||
WmiEventControl,
|
||||
WmiDataBlockControl
|
||||
} WMIENABLEDISABLECONTROL, *PWMIENABLEDISABLECONTROL;
|
||||
|
||||
typedef enum _SYSCTL_IRP_DISPOSITION {
|
||||
IrpProcessed,
|
||||
IrpNotCompleted,
|
||||
IrpNotWmi,
|
||||
IrpForward
|
||||
} SYSCTL_IRP_DISPOSITION, *PSYSCTL_IRP_DISPOSITION;
|
||||
|
||||
typedef
|
||||
NTSTATUS
|
||||
(NTAPI WMI_QUERY_REGINFO_CALLBACK)(
|
||||
|
||||
Reference in New Issue
Block a user