NdisQueryBuffer
This function retrieves the size of the range from a buffer descriptor and, optionally, its base virtual address.
VOID NdisQueryBuffer(
IN PNDIS_BUFFER Buffer,
OUT PVOID *VirtualAddress OPTIONAL,
OUT PUINT Length );
Parameters
- Buffer
Pointer to the buffer descriptor. - VirtualAddress
Pointer to a caller-supplied variable in which this function returns the base virtual address of the range described. - Length
Pointer to to a caller-supplied variable in which this function returns the number of bytes in the virtual range.
Remarks
NDIS drivers use this function to retrieve information from the buffer descriptors chained to incoming packets for subsequent transfer operations.
The driver must release any spin lock it is holding before calling this function.
A driver that calls this function 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
NdisGetFirstBufferFromPacket, NdisMoveFromMappedMemory, NdisMoveMemory, NdisMoveToMappedMemory, NdisQueryBufferOffset, NdisQueryPacket, NdisRawReadPortBufferUchar, NdisRawReadPortBufferUlong, NdisRawReadPortBufferUshort, NdisRawWritePortBufferUchar, NdisRawWritePortBufferUlong, NdisRawWritePortBufferUshort, NdisReleaseSpinLock, NdisUnchainBufferAtBack, NdisUnchainBufferAtFront
Last updated on Tuesday, July 13, 2004
© 1992-2000 Microsoft Corporation. All rights reserved.