[FASTFAT] Fix size checking in VfatGetFileNameInformation()
[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 <wmilib.h>
13 #include <initguid.h>
14 #include <batclass.h>
15
16 typedef struct _BATTERY_CLASS_DATA {
17 BATTERY_MINIPORT_INFO MiniportInfo;
18 KEVENT WaitEvent;
19 BOOLEAN Waiting;
20 FAST_MUTEX Mutex;
21 UCHAR EventTrigger;
22 PVOID EventTriggerContext;
23 UNICODE_STRING InterfaceName;
24 } BATTERY_CLASS_DATA, *PBATTERY_CLASS_DATA;
25
26 /* Memory tags */
27 #define BATTERY_CLASS_DATA_TAG 'CtaB'
28
29 /* Event triggers */
30 #define EVENT_BATTERY_TAG 0x01
31 #define EVENT_BATTERY_STATUS 0x02