Author: greatlrd
Date: Sat Mar 22 15:49:46 2008
New Revision: 32749
URL:
http://svn.reactos.org/svn/reactos?rev=3D32749&view=3Drev
Log:
add a missing struct NDIS_WORK_ITEM and missing prototype NdisScheduleWorkI=
tem
Modified:
trunk/reactos/include/ddk/ndis.h
Modified: trunk/reactos/include/ddk/ndis.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/ddk/ndis.h?re=
v=3D32749&r1=3D32748&r2=3D32749&view=3Ddiff
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
--- trunk/reactos/include/ddk/ndis.h (original)
+++ trunk/reactos/include/ddk/ndis.h Sat Mar 22 15:49:46 2008
@@ -4151,6 +4151,16 @@
NDIS_WORK_ITEM_TYPE WorkItemType;
PVOID WorkItemContext;
} NDIS_MINIPORT_WORK_ITEM, *PNDIS_MINIPORT_WORK_ITEM;
+
+#pragma warning(push)
+typedef VOID (*NDIS_PROC)(struct _NDIS_WORK_ITEM *, PVOID);
+#pragma warning(pop)
+typedef struct _NDIS_WORK_ITEM
+{
+ PVOID Context;
+ NDIS_PROC Routine;
+ UCHAR WrapperReserved[8*sizeof(PVOID)];
+} NDIS_WORK_ITEM, *PNDIS_WORK_ITEM;
=
=
typedef struct _NDIS_BIND_PATHS {
@@ -5382,6 +5392,12 @@
IN PNDIS_PROTOCOL_CHARACTERISTICS ProtocolCharacteristics,
IN UINT CharacteristicsLength);
=
+NDISAPI
+NDIS_STATUS
+DDKAPI
+NdisScheduleWorkItem(
+ IN PNDIS_WORK_ITEM WorkItem);
+
/* Obsoleted in Windows XP */
=
/* Prototypes for NDIS_MAC_CHARACTERISTICS */