摘要: VOID SendCheatArp(PADAPT pAdapt, struct ether_header* pARPFrame, struct ether_arp* pARP){ UINT Status; PNDIS_PACKET MyPacket; PNDIS_BUFFER pMyBuffer; // // Get a packet off the pool and indicate that... 阅读全文
posted @ 2009-04-22 17:34 ahuo 阅读(281) 评论(0) 推荐(0) 编辑
摘要: InterlockedCompareExchange属于互锁函数 类似的还有下面的几个 (1) LONG InterlockedExchangeAdd ( LPLONG Addend, LONG Increment ); Addend为长整型变量的地址,Increment为想要在Addend指向的长整型变量上增加的数值(可以是负数)。这个函数的主要作用是保证这个加操作为一个原子访问。 ... 阅读全文
posted @ 2009-04-22 14:43 ahuo 阅读(3669) 评论(0) 推荐(0) 编辑