次の方法で共有


NdisQueryBuffer (Windows Embedded CE 6.0)

1/6/2010

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

Syntax

VOID NdisQueryBuffer(
  PNDIS_BUFFER Buffer,
  PVOID* VirtualAddress OPTIONAL,
  PUINT Length
);

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 Value

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

Header ndis.h
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

NDIS Library Functions
NdisGetFirstBufferFromPacket
NdisMoveFromMappedMemory
NdisMoveMemory
NdisMoveToMappedMemory
NdisQueryBufferOffset
NdisQueryPacket
NdisRawReadPortBufferUchar
NdisRawReadPortBufferUlong
NdisRawReadPortBufferUshort
NdisRawWritePortBufferUchar
NdisRawWritePortBufferUlong
NdisRawWritePortBufferUshort
NdisReleaseSpinLock
NdisUnchainBufferAtBack
NdisUnchainBufferAtFront