CLUS_SCSI_ADDRESS structure (clusapi.h)

Contains SCSI address data. It is used as the data member of a CLUSPROP_SCSI_ADDRESS structure and as the return value of some control code operations.

Syntax

typedef struct CLUS_SCSI_ADDRESS {
  union {
    struct {
      UCHAR PortNumber;
      UCHAR PathId;
      UCHAR TargetId;
      UCHAR Lun;
    } DUMMYSTRUCTNAME;
    DWORD dw;
  } DUMMYUNIONNAME;
} CLUS_SCSI_ADDRESS, *PCLUS_SCSI_ADDRESS;

Members

DUMMYUNIONNAME

DUMMYUNIONNAME.DUMMYSTRUCTNAME

DUMMYUNIONNAME.DUMMYSTRUCTNAME.PortNumber

Identifies the SCSI controller. This corresponds to the PortNumber property of the ClusScsiAddress object.

DUMMYUNIONNAME.DUMMYSTRUCTNAME.PathId

Identifies the bus on the SCSI controller specified by PortNumber. This corresponds to the PathId property of the ClusScsiAddress object.

DUMMYUNIONNAME.DUMMYSTRUCTNAME.TargetId

Identifies the target device on the SCSI bus specified by PathId. This corresponds to the TargetId property of the ClusScsiAddress object.

DUMMYUNIONNAME.DUMMYSTRUCTNAME.Lun

Identifies the individual logical unit at the target device specified by TargetId. This corresponds to the Lun property of the ClusScsiAddress object.

DUMMYUNIONNAME.dw

Numeric value that describes the SCSI address as a combination of the PortNumber, PathId, TargetId, and Lun values.

Remarks

A CLUS_SCSI_ADDRESS structure can also be returned by ClusterResourceControl when the dwControlCode parameter is set to CLUSCTL_RESOURCE_STORAGE_GET_DISK_INFO and can be returned by ClusterResourceTypeControl when dwControlCode is set to CLUSCTL_RESOURCE_TYPE_STORAGE_GET_AVAILABLE_DISKS.

Examples

See Creating Physical Disk Resources.

Requirements

Requirement Value
Minimum supported client None supported
Minimum supported server Windows Server 2008 Enterprise, Windows Server 2008 Datacenter
Header clusapi.h

See also

CLUSCTL_RESOURCE_STORAGE_GET_DISK_INFO

CLUSCTL_RESOURCE_TYPE_STORAGE_GET_AVAILABLE_DISKS

CLUSPROP_SCSI_ADDRESS

ClusScsiAddress Object

ClusterResourceControl

ClusterResourceTypeControl