SendSRL function

The SendSRL WMI method sends a scan remote loop (SRL) command through the indicated port to the indicated domain controller.

Syntax

void SendSRL(
   [out, HBA_STATUS_QUALIFIERS] HBA_STATUS       HBAStatus,
   [in, HBAType("HBA_WWN")] uint8                PortWWN[8],
   [in, HBAType("HBA_WWN")] uint8                WWN[8],
   [in] uint32                                   Domain,
   [out] uint32                                  TotalRspBufferSize,
   [out] uint32                                  ActualRspBufferSize,
   [out, WmiSizeIs("ActualRspBufferSize")] uint8 RspBuffer[]
);

Parameters

HBAStatus
On return, contains the status of the operation. For a list of allowed values and their descriptions, see HBA_STATUS. The miniport driver returns this information in the HBAStatus member of a SendSRL_OUT structure.

PortWWN
A worldwide name for the local port through which the SRL command is sent. This information is delivered to the miniport driver in the PortWWN member of a SendSRL_IN structure.

WWN
A worldwide name for the port of type FL_Port whose loop is to be scanned. This information is delivered to the miniport driver in the WWN member of a SendSRL_IN structure.

Domain
The domain number for the domain whose loops are to be scanned. This information is delivered to the miniport driver in the Domain member of a SendSRL_IN structure.

TotalRspBufferSize
The size in bytes of the results of the SRL command. The miniport driver returns this information in the TotalRspBufferSize member of a SendSRL_OUT structure.

ActualRspBufferSize
The size in bytes of the data that was actually retrieved. The miniport driver returns this information in the ActualRspBufferSize member of a SendSRL_OUT structure.

RspBuffer
The results of the SRL command. The miniport driver returns this information in the RspBuffer member of a SendSRL_OUT structure.

Return value

Not applicable to WMI methods.

Remarks

This WMI method belongs to the MSFC_HBAAdapterMethods WMI Class.

Requirements

Target platform

Desktop

Header

Hbapiwmi.h (include Hbapiwmi.h, Hbaapi.h, or Hbaapi.h)

Library

Hbaapi.lib

See also

HBA_STATUS

SendSRL_IN SendSRL_OUT