[DDK/XDK]
authorThomas Faber <thomas.faber@reactos.org>
Wed, 24 Aug 2011 14:07:13 +0000 (14:07 +0000)
committerThomas Faber <thomas.faber@reactos.org>
Wed, 24 Aug 2011 14:07:13 +0000 (14:07 +0000)
- Add function types, not only function pointers types for EXPAND_STACK_CALLOUT and KSYNCHRONIZE_ROUTINE

svn path=/trunk/; revision=53418

reactos/include/ddk/ntddk.h
reactos/include/ddk/wdm.h
reactos/include/xdk/ketypes.h

index 5876496..42a3c42 100644 (file)
@@ -1908,8 +1908,9 @@ typedef struct _HAL_PLATFORM_INFORMATION {
 #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)(
index 0acc3a5..d70b8cf 100644 (file)
@@ -1390,8 +1390,9 @@ typedef enum _LOCK_OPERATION {
 #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,
index 1d06cc8..0bbb696 100644 (file)
@@ -826,8 +826,9 @@ typedef enum _LOCK_OPERATION {
 #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 @@ $if (_NTDDK_)
 #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)(