// spbcx.h
WDFDEVICE SpbRequestGetController(
[in] SPBREQUEST SpbRequest
);
View the official Windows Driver Kit DDI referenceNo description available.
The SpbRequestGetController method returns the WDFDEVICE handle to the device object for the SPB controller that the specified I/O request was sent to.
SpbRequest [in]The SPBREQUEST handle to the I/O request from which to retrieve the WDFDEVICE handle. The SPB controller driver previously received this handle through one of its registered event callback functions.
SpbRequestGetController returns the WDFDEVICE handle that the I/O request was sent to.