Bewerken

Delen via


AcxTargetFactoryCircuitCreate function (acxtargets.h)

The AcxTargetFactoryCircuitCreate function returns a handle to a new ACXTARGETFACTORYCIRCUIT ACX object.

Syntax

NTSTATUS AcxTargetFactoryCircuitCreate(
  WDFDEVICE                          Device,
  PWDF_OBJECT_ATTRIBUTES             Attributes,
  PACX_TARGET_FACTORY_CIRCUIT_CONFIG Config,
  ACXTARGETFACTORYCIRCUIT            *TargetFactoryCircuit
);

Parameters

Device

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

Attributes

Additional Attributes defined using a WDF_OBJECT_ATTRIBUTES structure that are used to set various object's values: cleanup and destroy callbacks, context type, and to specify its parent object.

Config

An initialized ACX_TARGET_FACTORY_CIRCUIT_CONFIG structure that describes the configuration of the target factory circuit.

TargetFactoryCircuit

A pointer to a location that receives a handle to the new ACXTARGETFACTORYCIRCUIT Object. For more information about ACX objects, see Summary of ACX Objects.

Return value

Returns STATUS_SUCCESS if the call was successful. Otherwise, it returns an appropriate error code. For more information, see Using NTSTATUS Values.

Remarks

ACX requirements

Minimum ACX version: 1.0

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

Requirements

Requirement Value
Header acxtargets.h
IRQL PASSIVE_LEVEL

See also