Microsoft Windows CE 3.0  

NdisChainBufferAtFront

Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

This function links a specified buffer descriptor to the head of the buffer-descriptor chain attached to a packet descriptor.

VOID NdisChainBufferAtFront(
IN OUT PNDIS_PACKET
Packet, 
IN OUT PNDIS_BUFFER
Buffer
);

Parameters

Packet
Pointer to the packet descriptor.
Buffer
Pointer to the caller-supplied buffer descriptor to be added to the chain.

Remarks

This function links the specified buffer descriptor at the head of the chain for the specified packet. It also resets the valid counts for the packet to FALSE, thus forcing the NdisQueryPacketfunction to recalculate information about the specified packet if it is called subsequently with that packet.

A driver that calls this function can run at any IRQL, but usually runs at IRQL <=DISPATCH_LEVEL.

Requirements

Runs on Versions Defined in Include Link to
Windows CE OS 2.0 and later Ndis.h    
Note   This API is part of the complete Windows CE OS package as provided by Microsoft. The functionality of a particular platform is determined by the original equipment manufacturer (OEM) and some devices may not support this API.

See Also

NdisChainBufferAtBack, NdisQueryPacket, NdisUnchainBufferAtFront



 Last updated on Tuesday, July 13, 2004

© 2004 Microsoft Corporation. All rights reserved.