VOID
NdisQueryBuffer(
IN PNDIS_BUFFER Buffer,
OUT PVOID *VirtualAddress OPTIONAL,
OUT PUINT Length
);
NdisQueryBuffer retrieves the size of the range, and optionally its base virtual address, from a buffer descriptor.
NDIS drivers use NdisQueryBuffer 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 NdisQueryBuffer.
Callers of NdisQueryBuffer run at IRQL <= DISPATCH_LEVEL.
MiniportHandleInterrupt, MiniportSend, MiniportSendPackets, MiniportTimer, MiniportTransferData, MiniportWanSend, NdisAllocateBuffer, NdisGetFirstBufferFromPacket, NdisMoveFromMappedMemory, NdisMoveMemory, NdisMoveToMappedMemory, NdisQueryBufferOffset, NdisQueryPacket, NdisRawReadPortBufferUchar, NdisRawReadPortBufferUlong, NdisRawReadPortBufferUshort, NdisRawWritePortBufferUchar, NdisRawWritePortBufferUlong, NdisRawWritePortBufferUshort, NdisReleaseSpinLock, NdisUnchainBufferAtBack, NdisUnchainBufferAtFront, ProtocolReceive, ProtocolReceivePacket