Author: ion
Date: Sun Jul 24 17:06:50 2011
New Revision: 52843
URL:
http://svn.reactos.org/svn/reactos?rev=52843&view=rev
Log:
[NDK]: Fix Po function prototypes. Also guard against _PO_DDK_ which means caller already
has ntpoapi.h.
Modified:
trunk/reactos/include/ndk/pofuncs.h
Modified: trunk/reactos/include/ndk/pofuncs.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/ndk/pofuncs.h?rev=…
==============================================================================
--- trunk/reactos/include/ndk/pofuncs.h [iso-8859-1] (original)
+++ trunk/reactos/include/ndk/pofuncs.h [iso-8859-1] Sun Jul 24 17:06:50 2011
@@ -18,6 +18,7 @@
#ifndef _POFUNCS_H
#define _POFUNCS_H
+#ifndef _PO_DDK_
//
// Dependencies
@@ -57,7 +58,7 @@
IN ULONG Flags
);
-NTSYSAPI
+NTSYSCALLAPI
NTSTATUS
NTAPI
NtGetDevicePowerState(
@@ -65,19 +66,19 @@
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 @@
OUT EXECUTION_STATE *PreviousFlags
);
-NTSYSAPI
+NTSYSCALLAPI
NTSTATUS
NTAPI
NtInitiatePowerAction(
@@ -95,21 +96,21 @@
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 @@
BOOLEAN Asynchronous
);
-NTSYSAPI
+NTSYSCALLAPI
NTSTATUS
NTAPI
ZwPowerInformation(
@@ -130,7 +131,7 @@
ULONG OutputBufferLength
);
-NTSYSAPI
+NTSYSCALLAPI
NTSTATUS
NTAPI
ZwSetSystemPowerState(
@@ -139,3 +140,4 @@
IN ULONG Flags
);
#endif
+#endif