mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 17:56:00 +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
|
NTSTATUS
|
||||||
DDKAPI
|
DDKAPI
|
||||||
BatteryClassSystemControl(PVOID ClassData,
|
BatteryClassSystemControl(PVOID ClassData,
|
||||||
PWMILIB_CONTEXT WmiLibContext,
|
PVOID WmiLibContext,
|
||||||
PDEVICE_OBJECT DeviceObject,
|
PDEVICE_OBJECT DeviceObject,
|
||||||
PIRP Irp,
|
PIRP Irp,
|
||||||
PSYSCTL_IRP_DISPOSITION Disposition)
|
PVOID Disposition)
|
||||||
{
|
{
|
||||||
NTSTATUS Status;
|
NTSTATUS Status;
|
||||||
|
|
||||||
|
|
|
@ -9,6 +9,7 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <ntddk.h>
|
#include <ntddk.h>
|
||||||
|
#include <wmlib.h>
|
||||||
#include <initguid.h>
|
#include <initguid.h>
|
||||||
#include <batclass.h>
|
#include <batclass.h>
|
||||||
|
|
||||||
|
|
|
@ -12,6 +12,18 @@ typedef struct _WMIGUIDREGINFO {
|
||||||
ULONG Flags;
|
ULONG Flags;
|
||||||
} WMIGUIDREGINFO, *PWMIGUIDREGINFO;
|
} 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
|
typedef
|
||||||
NTSTATUS
|
NTSTATUS
|
||||||
(NTAPI WMI_QUERY_REGINFO_CALLBACK)(
|
(NTAPI WMI_QUERY_REGINFO_CALLBACK)(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue