mirror of
https://github.com/reactos/reactos.git
synced 2025-08-01 01:03:16 +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:
parent
38b3788cbc
commit
97378505bd
3 changed files with 15 additions and 2 deletions
|
@ -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)(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue