Sync with trunk head
[reactos.git] / drivers / battery / battc / battc.h
1 /*
2 * PROJECT: ReactOS Kernel
3 * LICENSE: GPL - See COPYING in the top level directory
4 * FILE: drivers/battery/battc/battc.h
5 * PURPOSE: Battery Class Driver
6 * PROGRAMMERS: Cameron Gutman (cameron.gutman@reactos.org)
7 */
8
9 #pragma once
10
11 #include <ntddk.h>
12 #include <initguid.h>
13 #include <batclass.h>
14
15 typedef struct _BATTERY_CLASS_DATA {
16 BATTERY_MINIPORT_INFO MiniportInfo;
17 KEVENT WaitEvent;
18 BOOLEAN Waiting;
19 FAST_MUTEX Mutex;
20 UCHAR EventTrigger;
21 PVOID EventTriggerContext;
22 UNICODE_STRING InterfaceName;
23 } BATTERY_CLASS_DATA, *PBATTERY_CLASS_DATA;
24
25 /* Memory tags */
26 #define BATTERY_CLASS_DATA_TAG 'CtaB'
27
28 /* Event triggers */
29 #define EVENT_BATTERY_TAG 0x01
30 #define EVENT_BATTERY_STATUS 0x02