ScsiPortConvertPhysicalAddressToUlong - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// srb.h

SCSIPORT_API ULONG ScsiPortConvertPhysicalAddressToUlong(
  [in] SCSI_PHYSICAL_ADDRESS Address
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-srb-scsiportconvertphysicaladdresstoulong)

ScsiPortConvertPhysicalAddressToUlong function

Description

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.

Parameters

Address [in]

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.

See also

ACCESS_RANGE

ScsiPortGetDeviceBase

ScsiPortGetPhysicalAddress