mirror of
https://github.com/reactos/reactos.git
synced 2025-01-03 21:09:19 +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
|
#ifndef _POFUNCS_H
|
||||||
#define _POFUNCS_H
|
#define _POFUNCS_H
|
||||||
|
#ifndef _PO_DDK_
|
||||||
|
|
||||||
//
|
//
|
||||||
// Dependencies
|
// Dependencies
|
||||||
|
@ -57,7 +58,7 @@ NtSetSystemPowerState(
|
||||||
IN ULONG Flags
|
IN ULONG Flags
|
||||||
);
|
);
|
||||||
|
|
||||||
NTSYSAPI
|
NTSYSCALLAPI
|
||||||
NTSTATUS
|
NTSTATUS
|
||||||
NTAPI
|
NTAPI
|
||||||
NtGetDevicePowerState(
|
NtGetDevicePowerState(
|
||||||
|
@ -65,19 +66,19 @@ NtGetDevicePowerState(
|
||||||
IN PDEVICE_POWER_STATE PowerState
|
IN PDEVICE_POWER_STATE PowerState
|
||||||
);
|
);
|
||||||
|
|
||||||
NTSYSAPI
|
NTSYSCALLAPI
|
||||||
NTSTATUS
|
NTSTATUS
|
||||||
NTAPI
|
NTAPI
|
||||||
NtRequestWakeupLatency(
|
NtRequestWakeupLatency(
|
||||||
IN LATENCY_TIME latency
|
IN LATENCY_TIME latency
|
||||||
);
|
);
|
||||||
|
|
||||||
NTSYSAPI
|
NTSYSCALLAPI
|
||||||
BOOLEAN
|
BOOLEAN
|
||||||
NTAPI
|
NTAPI
|
||||||
NtIsSystemResumeAutomatic(VOID);
|
NtIsSystemResumeAutomatic(VOID);
|
||||||
|
|
||||||
NTSYSAPI
|
NTSYSCALLAPI
|
||||||
NTSTATUS
|
NTSTATUS
|
||||||
NTAPI
|
NTAPI
|
||||||
NtSetThreadExecutionState(
|
NtSetThreadExecutionState(
|
||||||
|
@ -85,7 +86,7 @@ NtSetThreadExecutionState(
|
||||||
OUT EXECUTION_STATE *PreviousFlags
|
OUT EXECUTION_STATE *PreviousFlags
|
||||||
);
|
);
|
||||||
|
|
||||||
NTSYSAPI
|
NTSYSCALLAPI
|
||||||
NTSTATUS
|
NTSTATUS
|
||||||
NTAPI
|
NTAPI
|
||||||
NtInitiatePowerAction(
|
NtInitiatePowerAction(
|
||||||
|
@ -95,21 +96,21 @@ NtInitiatePowerAction(
|
||||||
IN BOOLEAN Asynchronous
|
IN BOOLEAN Asynchronous
|
||||||
);
|
);
|
||||||
|
|
||||||
NTSYSAPI
|
NTSYSCALLAPI
|
||||||
NTSTATUS
|
NTSTATUS
|
||||||
NTAPI
|
NTAPI
|
||||||
NtRequestDeviceWakeup(
|
NtRequestDeviceWakeup(
|
||||||
IN HANDLE Device
|
IN HANDLE Device
|
||||||
);
|
);
|
||||||
|
|
||||||
NTSYSAPI
|
NTSYSCALLAPI
|
||||||
NTSTATUS
|
NTSTATUS
|
||||||
NTAPI
|
NTAPI
|
||||||
NtCancelDeviceWakeupRequest(
|
NtCancelDeviceWakeupRequest(
|
||||||
IN HANDLE Device
|
IN HANDLE Device
|
||||||
);
|
);
|
||||||
|
|
||||||
NTSYSAPI
|
NTSYSCALLAPI
|
||||||
NTSTATUS
|
NTSTATUS
|
||||||
NTAPI
|
NTAPI
|
||||||
ZwInitiatePowerAction(
|
ZwInitiatePowerAction(
|
||||||
|
@ -119,7 +120,7 @@ ZwInitiatePowerAction(
|
||||||
BOOLEAN Asynchronous
|
BOOLEAN Asynchronous
|
||||||
);
|
);
|
||||||
|
|
||||||
NTSYSAPI
|
NTSYSCALLAPI
|
||||||
NTSTATUS
|
NTSTATUS
|
||||||
NTAPI
|
NTAPI
|
||||||
ZwPowerInformation(
|
ZwPowerInformation(
|
||||||
|
@ -130,7 +131,7 @@ ZwPowerInformation(
|
||||||
ULONG OutputBufferLength
|
ULONG OutputBufferLength
|
||||||
);
|
);
|
||||||
|
|
||||||
NTSYSAPI
|
NTSYSCALLAPI
|
||||||
NTSTATUS
|
NTSTATUS
|
||||||
NTAPI
|
NTAPI
|
||||||
ZwSetSystemPowerState(
|
ZwSetSystemPowerState(
|
||||||
|
@ -139,3 +140,4 @@ ZwSetSystemPowerState(
|
||||||
IN ULONG Flags
|
IN ULONG Flags
|
||||||
);
|
);
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue