Author: tfaber
Date: Tue Aug 15 12:32:05 2017
New Revision: 75551
URL:
http://svn.reactos.org/svn/reactos?rev=75551&view=rev
Log:
[DDK]
- Fix calling convention for NDIS_PROC. Fixes stack corruption when running 3rd party
network drivers
CORE-13685 #resolve
Modified:
trunk/reactos/sdk/include/ddk/ndis.h
Modified: trunk/reactos/sdk/include/ddk/ndis.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/sdk/include/ddk/ndis.h?rev…
==============================================================================
--- trunk/reactos/sdk/include/ddk/ndis.h [iso-8859-1] (original)
+++ trunk/reactos/sdk/include/ddk/ndis.h [iso-8859-1] Tue Aug 15 12:32:05 2017
@@ -2293,7 +2293,7 @@
} NDIS_MINIPORT_WORK_ITEM, *PNDIS_MINIPORT_WORK_ITEM;
struct _NDIS_WORK_ITEM;
-typedef VOID (*NDIS_PROC)(struct _NDIS_WORK_ITEM *, PVOID);
+typedef VOID (NTAPI *NDIS_PROC)(struct _NDIS_WORK_ITEM *, PVOID);
typedef struct _NDIS_WORK_ITEM {
PVOID Context;