SendTargets_OUT structure (iscsiop.h)

The SendTargets_OUT structure holds the output data for the SendTargets method.

Syntax

typedef struct _SendTargets_OUT {
  ULONG Status;
  ULONG ResponseSize;
  UCHAR Response[1];
} SendTargets_OUT, *PSendTargets_OUT;

Members

Status

The status of the SendTargets method. This member will contain 0 if the SEND TARGETS operation succeeds and ISDSC_SCSI_REQUEST_FAILED if the operation fails. If the SEND TARGETS operation fails, ScsiStatus will contain the SCSI status of the SCSI command. SCSI status qualifiers are documented in the SCSI Primary Commands specification. For a list of status qualifiers, see ISCSI_STATUS_QUALIFIERS.

ResponseSize

The size, in bytes, of the buffer at Response.

Response[1]

A buffer that holds the response data that the target returns. Response to SendTargets in UTF8 characters. NOTE: This field is a variable length array.

Remarks

You must implement this method.

Requirements

Requirement Value
Header iscsiop.h (include Iscsiop.h)

See also

ISCSI_STATUS_QUALIFIERS

SendTargets

SendTargets_IN