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