Share via


NdisQueryBuffer (Windows CE 5.0)

Send Feedback

This function retrieves the size of the range from a buffer descriptor and, optionally, its base virtual address.

VOIDNdisQueryBuffer(PNDIS_BUFFERBuffer,PVOID* VirtualAddressOPTIONAL,PUINTLength);

Parameters

  • Buffer
    [in] Pointer to the buffer descriptor.
  • VirtualAddress
    [out] Pointer to a caller-supplied variable in which this function returns the base virtual address of the range described.
  • Length
    [out] Pointer to a caller-supplied variable in which this function returns the number of bytes in the virtual range.

Return Values

None.

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.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Ndis.h.

See Also

NdisGetFirstBufferFromPacket | NdisMoveFromMappedMemory | NdisMoveMemory | NdisMoveToMappedMemory | NdisQueryBufferOffset | NdisQueryPacket | NdisRawReadPortBufferUchar | NdisRawReadPortBufferUlong | NdisRawReadPortBufferUshort | NdisRawWritePortBufferUchar | NdisRawWritePortBufferUlong | NdisRawWritePortBufferUshort | NdisReleaseSpinLock | NdisUnchainBufferAtBack | NdisUnchainBufferAtFront

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.