ReactOS
0.4.16-dev-306-g647d351
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
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
_
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
po.c
Go to the documentation of this file.
1
/*
2
* PROJECT: ReactOS Kernel - Vista+ APIs
3
* LICENSE: GPL-2.0-or-later (https://spdx.org/licenses/GPL-2.0-or-later)
4
* PURPOSE: Po functions of Vista+
5
* COPYRIGHT: 2020 Victor Perevertkin (victor.perevertkin@reactos.org)
6
*/
7
8
#include <ntdef.h>
9
#include <ntifs.h>
10
11
NTKRNLVISTAAPI
12
NTSTATUS
13
NTAPI
14
PoRegisterPowerSettingCallback
(
15
_In_opt_
PDEVICE_OBJECT
DeviceObject
,
16
_In_
LPCGUID
SettingGuid
,
17
_In_
PPOWER_SETTING_CALLBACK
Callback
,
18
_In_opt_
PVOID
Context
,
19
_Outptr_opt_
PVOID
*
Handle
)
20
{
21
return
STATUS_NOT_IMPLEMENTED
;
22
}
23
24
_IRQL_requires_max_
(
APC_LEVEL
)
25
NTKRNLVISTAAPI
26
NTSTATUS
27
NTAPI
28
PoUnregisterPowerSettingCallback(
29
_Inout_
PVOID
Handle
)
30
{
31
return
STATUS_NOT_IMPLEMENTED
;
32
}
33
34
_IRQL_requires_max_
(
DISPATCH_LEVEL
)
35
NTKRNLVISTAAPI
36
BOOLEAN
37
NTAPI
38
PoQueryWatchdogTime(
39
_In_
PDEVICE_OBJECT
Pdo
,
40
_Out_
PULONG
SecondsRemaining
)
41
{
42
return
FALSE
;
43
}
44
45
_IRQL_requires_max_
(
DISPATCH_LEVEL
)
46
NTKRNLVISTAAPI
47
VOID
48
NTAPI
49
PoSetSystemWake(
50
_Inout_
struct
_IRP
*
Irp
)
51
{
52
53
}
54
55
_IRQL_requires_max_
(
DISPATCH_LEVEL
)
56
NTKRNLVISTAAPI
57
BOOLEAN
58
NTAPI
59
PoGetSystemWake(
60
_In_
struct
_IRP
*
Irp
)
61
{
62
return
FALSE
;
63
}
BOOLEAN
unsigned char BOOLEAN
Definition:
ProcessorBind.h:185
NTSTATUS
LONG NTSTATUS
Definition:
precomp.h:26
Irp
_In_ PIRP Irp
Definition:
csq.h:116
STATUS_NOT_IMPLEMENTED
#define STATUS_NOT_IMPLEMENTED
Definition:
d3dkmdt.h:42
FALSE
#define FALSE
Definition:
types.h:117
_IRQL_requires_max_
#define _IRQL_requires_max_(irql)
Definition:
driverspecs.h:230
APC_LEVEL
#define APC_LEVEL
Definition:
env_spec_w32.h:695
DISPATCH_LEVEL
#define DISPATCH_LEVEL
Definition:
env_spec_w32.h:696
Handle
ULONG Handle
Definition:
gdb_input.c:15
GUID
Definition:
shobjidl.idl:2988
void
Definition:
nsiface.idl:2307
_Inout_
#define _Inout_
Definition:
no_sal2.h:162
_Outptr_opt_
#define _Outptr_opt_
Definition:
no_sal2.h:264
_Out_
#define _Out_
Definition:
no_sal2.h:160
_In_
#define _In_
Definition:
no_sal2.h:158
_In_opt_
#define _In_opt_
Definition:
no_sal2.h:212
PoRegisterPowerSettingCallback
NTKRNLVISTAAPI NTSTATUS NTAPI PoRegisterPowerSettingCallback(_In_opt_ PDEVICE_OBJECT DeviceObject, _In_ LPCGUID SettingGuid, _In_ PPOWER_SETTING_CALLBACK Callback, _In_opt_ PVOID Context, _Outptr_opt_ PVOID *Handle)
Definition:
po.c:14
Context
Definition:
compobj.c:4795
_DEVICE_OBJECT
Definition:
env_spec_w32.h:413
_IRP
Definition:
Bus_PDO_EvalMethod.c:105
PULONG
uint32_t * PULONG
Definition:
typedefs.h:59
NTAPI
#define NTAPI
Definition:
typedefs.h:36
DeviceObject
_In_ PDEVICE_OBJECT DeviceObject
Definition:
wdfdevice.h:2055
Callback
_In_ WDFINTERRUPT _In_ PFN_WDF_INTERRUPT_SYNCHRONIZE Callback
Definition:
wdfinterrupt.h:458
Pdo
WDF_EXTERN_C_START typedef _Must_inspect_result_ _In_ WDFDRIVER _In_opt_ PWDF_OBJECT_ATTRIBUTES _In_ PDEVICE_OBJECT _In_opt_ PDEVICE_OBJECT _In_opt_ PDEVICE_OBJECT Pdo
Definition:
wdfminiport.h:72
NTKRNLVISTAAPI
#define NTKRNLVISTAAPI
SecondsRemaining
_Out_ PULONG SecondsRemaining
Definition:
pofuncs.h:162
SettingGuid
_In_ LPCGUID SettingGuid
Definition:
pofuncs.h:120
PPOWER_SETTING_CALLBACK
POWER_SETTING_CALLBACK * PPOWER_SETTING_CALLBACK
Definition:
potypes.h:479
sdk
lib
drivers
ntoskrnl_vista
po.c
Generated on Mon Dec 2 2024 06:16:00 for ReactOS by
1.9.6