AtaPortConvertPhysicalAddressToUlong function (irb.h)
The AtaPortConvertPhysicalAddressToUlong routine truncates an address of type IDE_PHYSICAL_ADDRESS to a ULONG.
Note The ATA port driver and ATA miniport driver models may be altered or unavailable in the future. Instead, we recommend using the Storport driver and Storport miniport driver models.
Syntax
ULONG AtaPortConvertPhysicalAddressToUlong(
[in] IDE_PHYSICAL_ADDRESS Address
);
Parameters
[in] Address
Specifies a value of type IDE_PHYSICAL_ADDRESS.
Return value
AtaPortConvertPhysicalAddressToUlong returns the lower order part of the given IDE_PHYSICAL_ADDRESS value.
Remarks
A miniport driver must not use this routine to truncate a 64-bit physical address.
Requirements
Requirement | Value |
---|---|
Target Platform | Desktop |
Header | irb.h (include Ata.h, Irb.h) |
Library | Ataport.lib; Pciidex.lib |