AcxCircuitGetWdfDevice function (acxcircuit.h)

Given an existing ACX Circuit object, the AcxCircuitGetWdfDevice function returns the associated WDFDEVICE object.

Syntax

WDFDEVICE AcxCircuitGetWdfDevice(
  ACXCIRCUIT Circuit
);

Parameters

Circuit

An existing ACXCIRCUIT object. For more information, see ACX - Summary of ACX Objects.

Return value

A WDFDEVICE object (described in Summary of Framework Objects) that is associated with the ACX circuit object.

Remarks

Example

Example usage is shown below.

    ACXCIRCUIT  circuit = (ACXCIRCUIT)DriverContext;
    WDFDEVICE   device = nullptr;

    device = AcxCircuitGetWdfDevice(circuit);

ACX requirements

Minimum ACX version: 1.0

For more information about ACX versions, see ACX version overview.

Requirements

Requirement Value
Header acxcircuit.h
IRQL <= DISPATCH_LEVEL

See also