- Update NDK to remove zwfuncs.h and place the native functions in their respective...
[reactos.git] / reactos / include / ndk / pofuncs.h
1 /*++ NDK Version: 0095
2
3 Copyright (c) Alex Ionescu. All rights reserved.
4
5 Header Name:
6
7 pofuncs.h
8
9 Abstract:
10
11 Function definitions for the Power Subsystem.
12
13 Author:
14
15 Alex Ionescu (alex.ionescu@reactos.com) 06-Oct-2004
16
17 --*/
18
19 #ifndef _POFUNCS_H
20 #define _POFUNCS_H
21
22 //
23 // Dependencies
24 //
25 #include <umtypes.h>
26
27 //
28 // Native Calls
29 //
30 NTSYSCALLAPI
31 NTSTATUS
32 NTAPI
33 NtInitiatePowerAction(
34 POWER_ACTION SystemAction,
35 SYSTEM_POWER_STATE MinSystemState,
36 ULONG Flags,
37 BOOLEAN Asynchronous
38 );
39
40 NTSYSCALLAPI
41 NTSTATUS
42 NTAPI
43 NtPowerInformation(
44 POWER_INFORMATION_LEVEL PowerInformationLevel,
45 PVOID InputBuffer,
46 ULONG InputBufferLength,
47 PVOID OutputBuffer,
48 ULONG OutputBufferLength
49 );
50
51 NTSYSCALLAPI
52 NTSTATUS
53 NTAPI
54 NtSetSystemPowerState(
55 IN POWER_ACTION SystemAction,
56 IN SYSTEM_POWER_STATE MinSystemState,
57 IN ULONG Flags
58 );
59
60 NTSYSCALLAPI
61 NTSTATUS
62 NTAPI
63 ZwInitiatePowerAction(
64 POWER_ACTION SystemAction,
65 SYSTEM_POWER_STATE MinSystemState,
66 ULONG Flags,
67 BOOLEAN Asynchronous
68 );
69
70 NTSYSCALLAPI
71 NTSTATUS
72 NTAPI
73 ZwPowerInformation(
74 POWER_INFORMATION_LEVEL PowerInformationLevel,
75 PVOID InputBuffer,
76 ULONG InputBufferLength,
77 PVOID OutputBuffer,
78 ULONG OutputBufferLength
79 );
80
81 NTSYSCALLAPI
82 NTSTATUS
83 NTAPI
84 ZwSetSystemPowerState(
85 IN POWER_ACTION SystemAction,
86 IN SYSTEM_POWER_STATE MinSystemState,
87 IN ULONG Flags
88 );
89 #endif