mirror of
https://github.com/reactos/reactos.git
synced 2025-01-01 03:54:02 +00:00
[NDK]: Fix Po function prototypes. Also guard against _PO_DDK_ which means caller already has ntpoapi.h.
svn path=/trunk/; revision=52843
This commit is contained in:
parent
63f96f7207
commit
242c7a190e
1 changed files with 12 additions and 10 deletions
|
@ -18,6 +18,7 @@ Author:
|
|||
|
||||
#ifndef _POFUNCS_H
|
||||
#define _POFUNCS_H
|
||||
#ifndef _PO_DDK_
|
||||
|
||||
//
|
||||
// Dependencies
|
||||
|
@ -57,7 +58,7 @@ NtSetSystemPowerState(
|
|||
IN ULONG Flags
|
||||
);
|
||||
|
||||
NTSYSAPI
|
||||
NTSYSCALLAPI
|
||||
NTSTATUS
|
||||
NTAPI
|
||||
NtGetDevicePowerState(
|
||||
|
@ -65,19 +66,19 @@ NtGetDevicePowerState(
|
|||
IN PDEVICE_POWER_STATE PowerState
|
||||
);
|
||||
|
||||
NTSYSAPI
|
||||
NTSYSCALLAPI
|
||||
NTSTATUS
|
||||
NTAPI
|
||||
NtRequestWakeupLatency(
|
||||
IN LATENCY_TIME latency
|
||||
);
|
||||
|
||||
NTSYSAPI
|
||||
NTSYSCALLAPI
|
||||
BOOLEAN
|
||||
NTAPI
|
||||
NtIsSystemResumeAutomatic(VOID);
|
||||
|
||||
NTSYSAPI
|
||||
NTSYSCALLAPI
|
||||
NTSTATUS
|
||||
NTAPI
|
||||
NtSetThreadExecutionState(
|
||||
|
@ -85,7 +86,7 @@ NtSetThreadExecutionState(
|
|||
OUT EXECUTION_STATE *PreviousFlags
|
||||
);
|
||||
|
||||
NTSYSAPI
|
||||
NTSYSCALLAPI
|
||||
NTSTATUS
|
||||
NTAPI
|
||||
NtInitiatePowerAction(
|
||||
|
@ -95,21 +96,21 @@ NtInitiatePowerAction(
|
|||
IN BOOLEAN Asynchronous
|
||||
);
|
||||
|
||||
NTSYSAPI
|
||||
NTSYSCALLAPI
|
||||
NTSTATUS
|
||||
NTAPI
|
||||
NtRequestDeviceWakeup(
|
||||
IN HANDLE Device
|
||||
);
|
||||
|
||||
NTSYSAPI
|
||||
NTSYSCALLAPI
|
||||
NTSTATUS
|
||||
NTAPI
|
||||
NtCancelDeviceWakeupRequest(
|
||||
IN HANDLE Device
|
||||
);
|
||||
|
||||
NTSYSAPI
|
||||
NTSYSCALLAPI
|
||||
NTSTATUS
|
||||
NTAPI
|
||||
ZwInitiatePowerAction(
|
||||
|
@ -119,7 +120,7 @@ ZwInitiatePowerAction(
|
|||
BOOLEAN Asynchronous
|
||||
);
|
||||
|
||||
NTSYSAPI
|
||||
NTSYSCALLAPI
|
||||
NTSTATUS
|
||||
NTAPI
|
||||
ZwPowerInformation(
|
||||
|
@ -130,7 +131,7 @@ ZwPowerInformation(
|
|||
ULONG OutputBufferLength
|
||||
);
|
||||
|
||||
NTSYSAPI
|
||||
NTSYSCALLAPI
|
||||
NTSTATUS
|
||||
NTAPI
|
||||
ZwSetSystemPowerState(
|
||||
|
@ -139,3 +140,4 @@ ZwSetSystemPowerState(
|
|||
IN ULONG Flags
|
||||
);
|
||||
#endif
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue