SpbTargetGetConnectionParameters - NtDoc

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

VOID SpbTargetGetConnectionParameters(
  [in]  SPBTARGET                 Target,
  [out] SPB_CONNECTION_PARAMETERS *ConnectionParameters
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-spbcx-spbtargetgetconnectionparameters)

SpbTargetGetConnectionParameters function

Description

The SpbTargetGetConnectionParameters method retrieves the connection parameters for a target device on the bus.

Parameters

Target [in]

An SPBTARGET handle to the target device for which to retrieve the connection parameters.

ConnectionParameters [out]

A pointer to a caller-allocated SPB_CONNECTION_PARAMETERS structure into which the method writes the connection parameters. The caller must previously have called the SPB_CONNECTION_PARAMETERS_INIT function to initialize this structure.

Remarks

This method retrieves a set of connection parameters that the SPB controller driver requires to access the specified target device on the bus. For more information, see SPB_CONNECTION_PARAMETERS.

A client (peripheral driver) that successfully opens a connection to a target has exclusive use of that target.

The SPB framework extension (SpbCx) calls your controller driver's EvtSpbTargetConnect and EvtSpbTargetDisconnect callback functions to open and close a connection.

SpbTargetGetConnectionParameters will not fail if it is called with a valid SPBTARGET handle.

See also

EvtSpbTargetConnect

EvtSpbTargetDisconnect

SPBTARGET

SPB_CONNECTION_PARAMETERS

SPB_CONNECTION_PARAMETERS_INIT