ScsiPortConvertPhysicalAddressToUlong function

The ScsiPortConvertPhysicalAddressToUlong routine truncates a SCSI_PHYSICAL_ADDRESS to a ULONG.

Syntax

ULONG ScsiPortConvertPhysicalAddressToUlong(
  _In_ SCSI_PHYSICAL_ADDRESS Address
);

Parameters

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

   
Windows Driver kit version
Target platform Desktop
Minimum KMDF version
Minimum UMDF version
Header srb.h (include Miniport.h, Scsi.h)
Library
IRQL
DDI compliance rules

See Also

ACCESS_RANGE
ScsiPortGetDeviceBase
ScsiPortGetPhysicalAddress

Send comments about this topic to Microsoft