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 來代表實體位址。

規格需求

需求
目標平台 Universal
標頭 storport.h (包含 Storport.h)
程式庫 Storport.lib