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

SPBREQUEST

SPBTARGET