共用方式為


StorPortConvertUlongToPhysicalAddress 函式 (storport.h)

StorPortConvertUlongToPhysicalAddress 例程會將未簽署的長地址轉換成實體位址。

語法

STORPORT_API STOR_PHYSICAL_ADDRESS StorPortConvertUlongToPhysicalAddress(
  [in] ULONG_PTR UlongAddress
);

參數

[in] UlongAddress

包含要轉換的位址。

傳回值

StorPortConvertUlongToPhysicalAddress 例程會傳回對應至呼叫端傳入之未簽署長地址的實體位址。

言論

StorPortConvertUlongToPhysicalAddress 會使用 STOR_PHYSICAL_ADDRESS 來代表實體位址。

typedef PHYSICAL_ADDRESS STOR_PHYSICAL_ADDRESS, *PSTOR_PHYSICAL_ADDRESS;

STOR_PHYSICAL_ADDRESS 類型是與作系統無關的數據類型,Storport 迷你埠驅動程式用來代表實體位址或總線相對位址。

StorPortConvertPhysicalAddressToULong64 巨集會將實體地址轉換成ULONG64值。

ULONG64 StorPortConvertPhysicalAddressToULong64(
  [in] STOR_PHYSICAL_ADDRESS Address
);

術語 描述
位址 [in] STOR_PHYSICAL_ADDRESS

指定類型為 STOR_PHYSICAL_ADDRESS 的位址值。

傳回值 ULONG64

StorPortConvertPhysicalAddressToULong64 會傳回衍生自傳遞給它的實體地址的ULONG64值。

 

StorPortConvertPhysicalAddressToULong64 使用 STOR_PHYSICAL_ADDRESS 來代表實體位址。

要求

要求 價值
目標平臺 普遍
標頭 storport.h (包括 Storport.h)
連結庫 Storport.lib