Author: tfaber
Date: Wed Aug 24 14:07:13 2011
New Revision: 53418
URL:
http://svn.reactos.org/svn/reactos?rev=53418&view=rev
Log:
[DDK/XDK]
- Add function types, not only function pointers types for EXPAND_STACK_CALLOUT and
KSYNCHRONIZE_ROUTINE
Modified:
trunk/reactos/include/ddk/ntddk.h
trunk/reactos/include/ddk/wdm.h
trunk/reactos/include/xdk/ketypes.h
Modified: trunk/reactos/include/ddk/ntddk.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/ddk/ntddk.h?rev=53…
==============================================================================
--- trunk/reactos/include/ddk/ntddk.h [iso-8859-1] (original)
+++ trunk/reactos/include/ddk/ntddk.h [iso-8859-1] Wed Aug 24 14:07:13 2011
@@ -1908,8 +1908,9 @@
#define NX_SUPPORT_POLICY_OPTOUT 3
typedef VOID
-(NTAPI *PEXPAND_STACK_CALLOUT)(
+(NTAPI EXPAND_STACK_CALLOUT)(
IN PVOID Parameter OPTIONAL);
+typedef EXPAND_STACK_CALLOUT *PEXPAND_STACK_CALLOUT;
typedef VOID
(NTAPI *PTIMER_APC_ROUTINE)(
Modified: trunk/reactos/include/ddk/wdm.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/ddk/wdm.h?rev=5341…
==============================================================================
--- trunk/reactos/include/ddk/wdm.h [iso-8859-1] (original)
+++ trunk/reactos/include/ddk/wdm.h [iso-8859-1] Wed Aug 24 14:07:13 2011
@@ -1390,8 +1390,9 @@
#define KTIMER_ACTUAL_LENGTH (FIELD_OFFSET(KTIMER, Period) + sizeof(LONG))
typedef BOOLEAN
-(NTAPI *PKSYNCHRONIZE_ROUTINE)(
+(NTAPI KSYNCHRONIZE_ROUTINE)(
IN PVOID SynchronizeContext);
+typedef KSYNCHRONIZE_ROUTINE *PKSYNCHRONIZE_ROUTINE;
typedef enum _POOL_TYPE {
NonPagedPool,
Modified: trunk/reactos/include/xdk/ketypes.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/xdk/ketypes.h?rev=…
==============================================================================
--- trunk/reactos/include/xdk/ketypes.h [iso-8859-1] (original)
+++ trunk/reactos/include/xdk/ketypes.h [iso-8859-1] Wed Aug 24 14:07:13 2011
@@ -826,8 +826,9 @@
#define KTIMER_ACTUAL_LENGTH (FIELD_OFFSET(KTIMER, Period) + sizeof(LONG))
typedef BOOLEAN
-(NTAPI *PKSYNCHRONIZE_ROUTINE)(
+(NTAPI KSYNCHRONIZE_ROUTINE)(
IN PVOID SynchronizeContext);
+typedef KSYNCHRONIZE_ROUTINE *PKSYNCHRONIZE_ROUTINE;
typedef enum _POOL_TYPE {
NonPagedPool,
@@ -1007,8 +1008,9 @@
#define NX_SUPPORT_POLICY_OPTOUT 3
typedef VOID
-(NTAPI *PEXPAND_STACK_CALLOUT)(
+(NTAPI EXPAND_STACK_CALLOUT)(
IN PVOID Parameter OPTIONAL);
+typedef EXPAND_STACK_CALLOUT *PEXPAND_STACK_CALLOUT;
typedef VOID
(NTAPI *PTIMER_APC_ROUTINE)(