UID | tech.root | title | ms.date | targetos | description | prerelease | req.assembly | req.construct-type | req.ddi-compliance | req.dll | req.header | req.idl | req.include-header | req.irql | req.kmdf-ver | req.lib | req.max-support | req.namespace | req.redist | req.target-min-winverclnt | req.target-min-winversvr | req.target-type | req.type-library | req.umdf-ver | req.unicode-ansi | topic_type | api_type | api_location | api_name | f1_keywords | dev_langs | |||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NF:acxcircuit.AcxCircuitInitSetAcxCircuitPnpPowerCallbacks |
audio |
AcxCircuitInitSetAcxCircuitPnpPowerCallbacks |
12/14/2022 |
Windows |
The AcxCircuitInitSetAcxCircuitPnpPowerCallbacks function sets the driver's PNP callbacks for the ACXCIRCUIT. |
false |
function |
acxcircuit.h |
PASSIVE_LEVEL |
|
|
|
|
|
|
The AcxCircuitInitSetAcxCircuitPnpPowerCallbacks function sets the driver's PNP callbacks for the ACXCIRCUIT.
The ACXCIRCUIT_INIT structure that defines the circuit initialization. ACXCIRCUIT_INIT is an opaque object used for circuit initialization. Use AcxCircuitInitAllocate to initialize the ACXCIRCUIT_INIT structure.
An ACX_FACTORY_CIRCUIT_PNPPOWER_CALLBACKS PnP power callbacks structure that defines the callbacks.
Before calling AcxCircuitInitSetAcxCircuitPnpPowerCallbacks, your driver should initialize its ACX_CIRCUIT_PNPPOWER_CALLBACKS structure by calling ACX_CIRCUIT_PNPPOWER_CALLBACKS_INIT. The ACX_CIRCUIT_PNPPOWER_CALLBACKS structure is used as input to the AcxCircuitInitSetAcxCircuitPnpPowerCallbacks method.
Example usage is shown below.
//
// Assign the circuit's pnp-power callbacks.
//
ACX_CIRCUIT_PNPPOWER_CALLBACKS_INIT(&powerCallbacks);
powerCallbacks.EvtAcxCircuitPowerUp = CodecR_EvtCircuitPowerUp;
powerCallbacks.EvtAcxCircuitPowerDown = CodecR_EvtCircuitPowerDown;
AcxCircuitInitSetAcxCircuitPnpPowerCallbacks(circuitInit, &powerCallbacks);
Minimum ACX version: 1.0
For more information about ACX versions, see ACX version overview.