// spbcx.h
VOID SpbTargetGetConnectionParameters(
[in] SPBTARGET Target,
[out] SPB_CONNECTION_PARAMETERS *ConnectionParameters
);
View the official Windows Driver Kit DDI referenceNo description available.
The SpbTargetGetConnectionParameters method retrieves the connection parameters for a target device on the bus.
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.
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.
SPB_CONNECTION_PARAMETERS_INIT