mirror of
https://github.com/reactos/reactos.git
synced 2024-11-10 08:43:28 +00:00
c424146e2c
svn path=/branches/cmake-bringup/; revision=48236
31 lines
763 B
C
31 lines
763 B
C
/*
|
|
* PROJECT: ReactOS Kernel
|
|
* LICENSE: GPL - See COPYING in the top level directory
|
|
* FILE: drivers/battery/battc/battc.h
|
|
* PURPOSE: Battery Class Driver
|
|
* PROGRAMMERS: Cameron Gutman (cameron.gutman@reactos.org)
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <ntddk.h>
|
|
#include <wmilib.h>
|
|
#include <initguid.h>
|
|
#include <batclass.h>
|
|
|
|
typedef struct _BATTERY_CLASS_DATA {
|
|
BATTERY_MINIPORT_INFO MiniportInfo;
|
|
KEVENT WaitEvent;
|
|
BOOLEAN Waiting;
|
|
FAST_MUTEX Mutex;
|
|
UCHAR EventTrigger;
|
|
PVOID EventTriggerContext;
|
|
UNICODE_STRING InterfaceName;
|
|
} BATTERY_CLASS_DATA, *PBATTERY_CLASS_DATA;
|
|
|
|
/* Memory tags */
|
|
#define BATTERY_CLASS_DATA_TAG 'CtaB'
|
|
|
|
/* Event triggers */
|
|
#define EVENT_BATTERY_TAG 0x01
|
|
#define EVENT_BATTERY_STATUS 0x02
|