阅读:1412回复:0
请问一下driverstudio的Nmpacket例子里的两个NmPacketBinding::Receive函数有什么区别?
INT NmPacketBinding::Receive(const IN PNDIS_PACKET Packet)
NDIS_STATUS NmPacketBinding::Receive(IN OUT KNdisPartialPacket& PacketToAccept, IN PVOID HeaderBuffer, IN UINT HeaderBufferSize, IN PVOID LookAheadBuffer, IN UINT LookaheadBufferSize, IN UINT PacketSize) 什么情况下第一个Receive函数被调用,什么时候第二个被调用? 真是闹不明白,纠结了一两天,请问坛子里有没有大牛能够解释一下? 多谢。 |
|