SM_SendCTPassThru - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// hbapiwmi.h

void SM_SendCTPassThru(
   [in, HBAType("HBA_WWN")] uint8              HbaPortWWN[8],
   [in] uint32                                 InRespBufferMaxSize,
   [in] uint32                                 RequestBufferSize,
   [in, WmiSizeIs("RequestBufferSize")] uint8  RequestBuffer,
   [out, HBA_STATUS_QUALIFIERS] HBA_STATUS     HBAStatus,
   [out] uint32                                TotalResponseBufferSize,
   [out] uint32                                ActualResponseBufferSize,
   [out, WmiSizeIs("OutRespBufferSize")] uint8 ResponseBuffer[]
);
View the official Windows hardware development documentation

NtDoc

No description available.

Windows hardware development documentation (sm-sendctpassthru)

SM_SendCTPassThru function

The SM_SendCTPassThru WMI method sends a common transport (CT) pass-through command to the indicated port.

Parameters

HbaPortWWN A worldwide name (WWN) 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.

InRespBufferMaxSize The maximum size of the response buffer.

RequestBufferSize 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 RequestBufferSize member of a SM_SendCTPassThru_IN structure.

RequestBuffer The results of the common transport command. The miniport driver returns this information in the RequestBuffer member of a SM_SendCTPassThru_IN structure.

HBAStatus 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 SM_SendCTPassThru_OUT structure.

TotalResponseBufferSize The size, in bytes, of the results common transport command. The miniport driver returns this information in the TotalResponseBufferSize member of a SM_SendCTPassThru_OUT structure.

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

ResponseBuffer The results of the common transport command. The miniport driver returns this information in the ResponseBuffer member of a SM_SendCTPassThru_OUT structure.

Return value

Not applicable to WMI methods.

Remarks

This WMI method belongs to the MS_SM_FabricAndDomainManagementMethods WMI Class.

Requirements

Target platform Desktop
Header Hbapiwmi.h

See also

HBA_STATUS

SM_SendCTPassThru_IN

SM_SendCTPassThru_OUT