STOR_ADDRESS structure (scsi.h)

A general structure for holding a storage device address.

Syntax

typedef struct _STOR_ADDRESS {
  USHORT Type;
  USHORT Port;
  ULONG  AddressLength;
  UCHAR  AddressData[ANYSIZE_ARRAY];
} STOR_ADDRESS, *PSTOR_ADDRESS;

Members

Type

The address type. This can be one of the following:

Value Meaning
STOR_ADDRESS_TYPE_UNKNOWN
The address type is unknown.
STOR_ADDRESS_TYPE_BTL8
The address is an 8-bit Bus-Target-LUN address.

Port

The host bus adapter (HBA) port number.

AddressLength

The byte length of the AddressData. If Type is set to STOR_ADDRESS_TYPE_BTL8, this value is STOR_ADDR_BTL8_ADDRESS_LENGTH.

AddressData[ANYSIZE_ARRAY]

The address data specific to an address type.

Requirements

Requirement Value
Minimum supported client Available starting with Windows 8.
Header scsi.h (include Storport.h, Scsi.h, Minitape.h)

See also

STOR_ADDR_BTL8

StorPortSetUnitAttributes