ReactOS 0.4.15-dev-5672-gf73ac17
battc.h
Go to the documentation of this file.
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
16typedef struct _BATTERY_CLASS_DATA
17{
26
27/* Memory tags */
28#define BATTERY_CLASS_DATA_TAG 'CtaB'
29
30/* Event triggers */
31#define EVENT_BATTERY_TAG 0x01
32#define EVENT_BATTERY_STATUS 0x02
unsigned char BOOLEAN
struct _BATTERY_CLASS_DATA * PBATTERY_CLASS_DATA
struct _BATTERY_CLASS_DATA BATTERY_CLASS_DATA
UNICODE_STRING InterfaceName
Definition: battc.h:24
KEVENT WaitEvent
Definition: battc.h:19
UCHAR EventTrigger
Definition: battc.h:22
PVOID EventTriggerContext
Definition: battc.h:23
FAST_MUTEX Mutex
Definition: battc.h:21
BATTERY_MINIPORT_INFO MiniportInfo
Definition: battc.h:18
BOOLEAN Waiting
Definition: battc.h:20
FAST_MUTEX
Definition: extypes.h:17
unsigned char UCHAR
Definition: xmlstorage.h:181