Microsoft Windows CE 3.0  

NdisGetNextBuffer

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 returns the next buffer descriptor in a chain, provided it has a pointer to the current buffer descriptor.

VOID NdisGetNextBuffer(
IN PNDIS_BUFFER
CurrentBuffer
,
OUT PNDIS_BUFFER *
NextBuffer
);

Parameters

CurrentBuffer
Pointer to the current buffer descriptor.
NextBuffer
Pointer to a caller-supplied variable in which this function returns a pointer to the buffer descriptor, if any, that follows CurrentBufferin the buffer descriptor chain.

Remarks

This function returns NULL at NextBufferif CurrentBufferpoints to the last buffer descriptor in the chain.

A driver usually calls this function after it calls the NdisQueryPacketor the NdisGetFirstBufferFromPacketfunction.

A driver can also call the NdisQueryBufferfunction to get details about a buffer descriptor that this function finds.

This function does not perform any synchronization. Therefore, a caller must handle any synchronization issues internally if more than one driver function can access buffer descriptors chained to a packet simultaneously.

A driver that calls this function can run at any IRQL.

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

NdisGetFirstBufferFromPacket, NdisQueryBuffer, NdisQueryPacket



 Last updated on Tuesday, July 13, 2004

© 2004 Microsoft Corporation. All rights reserved.