SpbRequestGetTarget function (spbcx.h)
The SpbRequestGetTarget method retrieves the SPBTARGET handle from the specified I/O request.
Syntax
SPBTARGET SpbRequestGetTarget(
[in] SPBREQUEST SpbRequest
);
Parameters
[in] SpbRequest
An SPBREQUEST handle to the I/O request. The SPB controller driver previously received this handle through one of its registered event callback functions.
Return value
SpbRequestGetTarget returns an SPBTARGET handle to the target device on the bus for the specified I/O request.
Remarks
The returned SPBTARGET handle is guaranteed to remain valid until the corresponding I/O request is completed.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Available starting with Windows 8. |
Target Platform | Universal |
Header | spbcx.h |
Library | Spbcxstubs.lib |
IRQL | <= DISPATCH_LEVEL |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for