Note NDIS 5. x has been deprecated and is superseded by NDIS 6. x. For new NDIS driver development, see Network Drivers Starting with Windows Vista. For information about porting NDIS 5. x drivers to NDIS 6. x, see Porting NDIS 5.x Drivers to NDIS 6.0.
NdisChainBufferAtFront links a given buffer descriptor to the head of the buffer-descriptor chain attached to a packet descriptor.
- Packet [in, out]
Pointer to the packet descriptor.
- Buffer [in, out]
Pointer to the caller-supplied buffer descriptor to be added to the chain.
NdisChainBufferAtFront links the given buffer descriptor at the head of the chain for the given packet.
It also resets the valid counts for the packet to FALSE, thereby forcing NdisQueryPacket to recalculate information about the given packet if it is called subsequently with that packet.
|Not supported for NDIS 6.0 drivers in Windows Vista. Supported for NDIS 5.1 drivers in Windows Vista and Windows XP.|
|Any level (but typically run at IRQL <= DISPATCH_LEVEL)|