共用方式為


NdisGetMdlPhysicalArraySize macro

The NdisGetMdlPhysicalArraySize macro retrieves the number of disconnected physical memory blocks that are associated with an MDL.

Syntax

VOID NdisGetMdlPhysicalArraySize(
    _Mdl,
    _ArraySize
);

Parameters

_Mdl
MDL 的指標。

_ArraySize
呼叫端提供的變數指標,其中此巨集會傳回與指定 MDL 相關聯之中斷連線實體記憶體區塊數目。

Return value

None

Remarks

The NdisGetMdlPhysicalArraySize macro provides an MDL-based version of the NdisGetBufferPhysicalArraySize function.

Requirements

Target platform

Desktop

Version

NDIS 6.0 及之後的版本均支援。

Header

Ndis.h (包括 Ndis.h)

IRQL

<= DISPATCH_LEVEL

DDI 合規性規則

Irql_NetBuffer_Function

See also

NdisGetBufferPhysicalArraySize