共用方式為


NdisRawReadPortUlong 巨集 (ndis.h)

NdisRawReadPortUlong 從 NIC 上的指定 I/O 埠讀取 ULONG 值。

語法

void NdisRawReadPortUlong(
  [in]   Port,
  [out]  Data
);

參數

[in] Port

指定 I/O 連接埠。 此位址落在初始化期間所對應的範圍 NdisMRegisterIoPortRange

[out] Data

呼叫端提供的變數指標,在此變數中,此函式會傳回從埠讀取的ULONG值。

傳回值

沒有

言論

NdisRawReadPortUlong 執行速度很快,因為它不需要將總線相對 I/O 連接埠地址對應至每次呼叫的主機相依邏輯埠位址。

要求

要求 價值
最低支援的用戶端 Windows Vista 中支援 NDIS 6.0 和 NDIS 5.1 驅動程式(請參閱 NdisRawReadPortUlong (NDIS 5.1)。 支援 Windows XP 中的 NDIS 5.1 驅動程式(請參閱 NdisRawReadPortUlong (NDIS 5.1) 。
目標平臺 普遍
標頭 ndis.h (包括 Ndis.h)
IRQL 任何層級

另請參閱

MiniportInitializeEx

NdisMRegisterIoPortRange

NdisRawReadPortBufferUlong

NdisRawReadPortUchar

NdisRawReadPortUshort

NdisRawWritePortUlong