// spbcx.h
SPBTARGET SpbRequestGetTarget(
[in] SPBREQUEST SpbRequest
);
View the official Windows Driver Kit DDI referenceNo description available.
The SpbRequestGetTarget method retrieves the SPBTARGET handle from the specified I/O request.
SpbRequest [in]An SPBREQUEST handle to the I/O request. The SPB controller driver previously received this handle through one of its registered event callback functions.
SpbRequestGetTarget returns an SPBTARGET handle to the target device on the bus for the specified I/O request.
The returned SPBTARGET handle is guaranteed to remain valid until the corresponding I/O request is completed.