// acxdevice.h
NTSTATUS AcxDeviceRemoveFactoryCircuit(
WDFDEVICE Device,
ACXFACTORYCIRCUIT Factory
);
View the official Windows Driver Kit DDI referenceNo description available.
The AcxDeviceRemoveFactoryCircuit function removes a factory circuit for creating audio circuits from a WDFDEVICE.
DeviceThe WDFDEVICE from which the ACX factory circuit will be removed.
FactoryThe ACX factory circuit to remove from the WDFDEVICE specified by the Device parameter.
AcxDeviceRemoveFactoryCircuit returns STATUS_SUCCESS if the call was successful. Otherwise, it returns an NTSTATUS error code.
A typical driver won’t need to call AcxDeviceRemoveFactoryCircuit. This function should not be called if the factory circuit has created circuit devices that are still active.
If a driver decides to call this function for a factory circuit, the driver becomes responsible for first removing the circuit devices created through the associated factory circuit, before AcxDeviceRemoveFactoryCircuit is called.
For more information about working with circuits see ACX circuit dynamic removal and ACX device enumeration.
This function can only be called from the EVT_WDF_DEVICE_RELEASE_HARDWARE callback function for this device.
Use AcxDeviceAddFactoryCircuit to add a factory circuit to a WDFDEVICE.
Minimum ACX version: 1.0
For more information about ACX versions, see ACX version overview.