ndis5.1中对应的函数为
VOID NdisInitializeWorkItem(
IN PNDIS_WORK_ITEM WorkItem,
IN NDIS_PROC Routine,
IN PVOID Context
);
nids6.0改为
NDIS_HANDLE NdisAllocateIoWorkItem(
IN NDIS_HANDLE NdisObjectHandle
);
原ndis5.1中的调用为
NdisInitializeWorkItem(&Adapter->MPWorkItem, MP_MPWorkItem, Adapter);
请问在ndis6.0中该如何调用啊?谢谢!
先调用NdisFRegisterFilterDriver,把它返回的句柄传给NdisAllocateIoWorkItem