Skip to content

Latest commit

 

History

History
89 lines (70 loc) · 2.26 KB

nf-acxcircuit-acxfactorycircuitinitsetcomponentid.md

File metadata and controls

89 lines (70 loc) · 2.26 KB
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.AcxFactoryCircuitInitSetComponentId
audio
AcxFactoryCircuitInitSetComponentId
12/14/2022
Windows
The AcxFactoryCircuitInitSetComponentId function sets the component ID for the ACXFACTORYCIRCUIT.
false
function
acxcircuit.h
<= DISPATCH_LEVEL
apiref
HeaderDef
acxcircuit.h
AcxFactoryCircuitInitSetComponentId
AcxFactoryCircuitInitSetComponentId
acxcircuit/AcxFactoryCircuitInitSetComponentId
c++

-description

The AcxFactoryCircuitInitSetComponentId function sets the component ID for the ACXFACTORYCIRCUIT.

-parameters

-param FactoryInit

An ACXFACTORYCIRCUIT_INIT structure that is used for circuit factory initialization. This is an opaque structure that is used to store ACX Circuit factory initialization information and associate the factory with a WDF device.

Use the AcxFactoryCircuitInitAllocate function to initialize the ACXFACTORYCIRCUIT_INIT structure.

-param ComponentId

A defined GUID that serves as the component ID for the circuit factory.

-remarks

The driver must initialize the circuit factory's identity by setting its URI (AcxFactoryCircuitInitAssignComponentUri) and/or its ID (this DDI).

Example

Example usage is shown below.

DEFINE_GUID(SDCAXU_FACTORY_GUID, 
0xa8215305, 0xe7db, 0x49eb, 0x96, 0x49, 0x84, 0x34, 0x55, 0xe2, 0xe0, 0xd1);
    //
    // Get a FactoryCircuitInit structure.
    //
    factoryInit = AcxFactoryCircuitInitAllocate(Device);

    //
    // Add factory identifiers.
    //
    AcxFactoryCircuitInitSetComponentId(factoryInit, &SDCAXU_FACTORY_GUID);

ACX requirements

Minimum ACX version: 1.0

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

-see-also