From ed9d21232dce8bdebfd9e322d8bd716ab0a2ad8d Mon Sep 17 00:00:00 2001 From: Johannes Anderwald Date: Thu, 23 Jul 2009 21:48:47 +0000 Subject: [PATCH] - fix clobering of stack in the event, property, method and start device routine svn path=/trunk/; revision=42166 --- reactos/include/ddk/portcls.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/reactos/include/ddk/portcls.h b/reactos/include/ddk/portcls.h index 3f47fb5a0de..2496223cf42 100644 --- a/reactos/include/ddk/portcls.h +++ b/reactos/include/ddk/portcls.h @@ -239,7 +239,7 @@ struct _PCPROPERTY_REQUEST; typedef struct _PCPROPERTY_REQUEST PCPROPERTY_REQUEST, *PPCPROPERTY_REQUEST; -typedef NTSTATUS (*PCPFNPROPERTY_HANDLER)( +typedef NTSTATUS NTAPI(*PCPFNPROPERTY_HANDLER)( IN PPCPROPERTY_REQUEST PropertyRequest); typedef struct @@ -281,7 +281,7 @@ struct _PCPROPERTY_REQUEST struct _PCEVENT_REQUEST; -typedef NTSTATUS (*PCPFNEVENT_HANDLER)( +typedef NTSTATUS NTAPI(*PCPFNEVENT_HANDLER)( IN struct _PCEVENT_REQUEST* EventRequest); typedef struct _PCEVENT_ITEM @@ -307,7 +307,7 @@ typedef struct _PCEVENT_REQUEST struct _PCMETHOD_REQUEST; -typedef NTSTATUS (*PCPFNMETHOD_HANDLER)( +typedef NTSTATUS NTAPI(*PCPFNMETHOD_HANDLER)( IN struct _PCMETHOD_REQUEST* MethodRequest); typedef struct _PCMETHOD_ITEM @@ -834,7 +834,7 @@ typedef enum struct IInterruptSync; -typedef NTSTATUS (*PINTERRUPTSYNCROUTINE)( +typedef NTSTATUS NTAPI(*PINTERRUPTSYNCROUTINE)( IN struct IInterruptSync* InterruptSync, IN PVOID DynamicContext); @@ -2048,7 +2048,7 @@ typedef IPortClsVersion *PPORTCLSVERSION; PortCls API Functions */ -typedef NTSTATUS (*PCPFNSTARTDEVICE)( +typedef NTSTATUS NTAPI(*PCPFNSTARTDEVICE)( IN PDEVICE_OBJECT DeviceObject, IN PIRP Irp, IN PRESOURCELIST ResourceList);