NdisGetNextBuffer
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 CurrentBuffer in the buffer descriptor chain.
Remarks
This function returns NULL at NextBuffer if CurrentBuffer points to the last buffer descriptor in the chain.
A driver usually calls this function after it calls the NdisQueryPacket or the NdisGetFirstBufferFromPacket function.
A driver can also call the NdisQueryBuffer function 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
© 1992-2000 Microsoft Corporation. All rights reserved.