ReactOS
0.4.16-dev-550-g2186ce3
Toggle main menu visibility
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
Functions
_
a
b
c
d
e
f
g
h
i
l
m
o
p
r
s
t
u
v
w
Variables
_
c
d
e
f
g
h
i
l
m
n
o
p
s
t
u
x
Typedefs
_
a
b
c
d
e
f
g
h
i
l
m
o
p
r
s
t
u
v
w
x
Enumerations
_
a
b
c
d
f
i
l
m
o
p
s
t
w
x
Enumerator
a
b
c
d
e
f
g
h
i
m
n
o
p
r
s
t
u
v
w
x
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
_
a
b
c
d
e
f
h
i
k
l
m
n
o
p
r
s
t
u
v
w
z
Enumerator
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Properties
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Related Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
v
x
Files
File List
File Members
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Examples
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
16
typedef
struct
_BATTERY_CLASS_DATA
17
{
18
BATTERY_MINIPORT_INFO
MiniportInfo
;
19
KEVENT
WaitEvent
;
20
BOOLEAN
Waiting
;
21
FAST_MUTEX
Mutex
;
22
UCHAR
EventTrigger
;
23
PVOID
EventTriggerContext
;
24
UNICODE_STRING
InterfaceName
;
25
}
BATTERY_CLASS_DATA
, *
PBATTERY_CLASS_DATA
;
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
BOOLEAN
unsigned char BOOLEAN
Definition:
ProcessorBind.h:185
batclass.h
PBATTERY_CLASS_DATA
struct _BATTERY_CLASS_DATA * PBATTERY_CLASS_DATA
BATTERY_CLASS_DATA
struct _BATTERY_CLASS_DATA BATTERY_CLASS_DATA
initguid.h
void
Definition:
nsiface.idl:2307
_BATTERY_CLASS_DATA
Definition:
battc.h:17
_BATTERY_CLASS_DATA::InterfaceName
UNICODE_STRING InterfaceName
Definition:
battc.h:24
_BATTERY_CLASS_DATA::WaitEvent
KEVENT WaitEvent
Definition:
battc.h:19
_BATTERY_CLASS_DATA::EventTrigger
UCHAR EventTrigger
Definition:
battc.h:22
_BATTERY_CLASS_DATA::EventTriggerContext
PVOID EventTriggerContext
Definition:
battc.h:23
_BATTERY_CLASS_DATA::Mutex
FAST_MUTEX Mutex
Definition:
battc.h:21
_BATTERY_CLASS_DATA::MiniportInfo
BATTERY_MINIPORT_INFO MiniportInfo
Definition:
battc.h:18
_BATTERY_CLASS_DATA::Waiting
BOOLEAN Waiting
Definition:
battc.h:20
_BATTERY_MINIPORT_INFO
Definition:
batclass.h:247
_KEVENT
Definition:
ketypes.h:811
_UNICODE_STRING
Definition:
env_spec_w32.h:368
wmilib.h
FAST_MUTEX
FAST_MUTEX
Definition:
extypes.h:17
UCHAR
unsigned char UCHAR
Definition:
xmlstorage.h:181
drivers
battery
battc
battc.h
Generated on Mon Jan 20 2025 06:05:22 for ReactOS by
1.9.6