SendCTPassThru function
The SendCTPassThru WMI method sends a common transport (CT) passthrough command to the indicated port.
Syntax
void SendCTPassThru(
[out, HBA_STATUS_QUALIFIERS] HBA_STATUS HBAStatus,
[in, HBAType("HBA_WWN")] uint8 PortWWN[8],
[in] uint32 RequestBufferCount,
[in, WmiSizeIs("RequestBufferCount")] uint8 RequestBuffer[],
[out] uint32 TotalResponseBufferCount,
[out] uint32 ActualResponseBufferCount,
[out, WmiSizeIs("ActualResponseBufferCount")] uint8 ResponseBuffer[]
);
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 SendCTPassThru_OUT structure.
PortWWN
A worldwide name for the HBA through which the target is accessed. This information is delivered to the miniport driver in the PortWWN member of a SendCTPassThru_IN structure.
RequestBufferCount
The size in bytes of the buffer that will hold the results of the common transport command. The miniport driver returns this information in the RequestBufferCount member of a SendCTPassThru_IN structure.
RequestBuffer
The results of the common transport command. The miniport driver returns this information in the RequestBuffer member of a SendCTPassThru_IN structure.
TotalResponseBufferCount
The size in bytes of the results common transport command. The miniport driver returns this information in the TotalResponseBufferCount member of a SendCTPassThru_OUT structure.
ActualResponseBufferCount
The size in bytes of the data that was actually retrieved. The miniport driver returns this information in the ActualResponseBufferCount member of a SendCTPassThru_OUT structure.
ResponseBuffer
The results of the common transport command. The miniport driver returns this information in the ResponseBuffer member of a SendCTPassThru_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 |