Bewerken

Delen via


SpbRequestGetController function (spbcx.h)

The SpbRequestGetController method returns the WDFDEVICE handle to the device object for the SPB controller that the specified I/O request was sent to.

Syntax

WDFDEVICE SpbRequestGetController(
  [in] SPBREQUEST SpbRequest
);

Parameters

[in] SpbRequest

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.

Return value

SpbRequestGetController returns the WDFDEVICE handle that the I/O request was sent to.

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