ScsiPortConvertPhysicalAddressToUlong function (srb.h)

The ScsiPortConvertPhysicalAddressToUlong routine truncates a SCSI_PHYSICAL_ADDRESS to a ULONG.

Note  The SCSI port driver and SCSI miniport driver models may be altered or unavailable in the future. Instead, we recommend using the Storport driver and Storport miniport driver models.
 

Syntax

SCSIPORT_API ULONG ScsiPortConvertPhysicalAddressToUlong(
  [in] SCSI_PHYSICAL_ADDRESS Address
);

Parameters

[in] Address

Specifies a value of type SCSI_PHYSICAL_ADDRESS.

Return value

ScsiPortConvertPhysicalAddressToUlong returns the low-order part of the given SCSI_PHYSICAL_ADDRESS value. A miniport driver cannot call this routine to truncate a 64-bit physical address. Such addresses should be used as quadword values, which contain all 64 bits.

Requirements

Requirement Value
Target Platform Desktop
Header srb.h (include Miniport.h, Scsi.h)
Library Scsiport.lib

See also

ACCESS_RANGE

ScsiPortGetDeviceBase

ScsiPortGetPhysicalAddress