// acxcircuit.h
NTSTATUS AcxFactoryCircuitInitAssignAcxRequestPreprocessCallback(
PACXFACTORYCIRCUIT_INIT FactoryInit,
PFN_ACX_OBJECT_PREPROCESS_REQUEST EvtObjectAcxRequestPreprocess,
ACXCONTEXT DriverContext,
ACX_REQUEST_TYPE RequestType,
const GUID *Set,
ULONG Id
);
View the official Windows Driver Kit DDI referenceNo description available.
The AcxFactoryCircuitInitAssignAcxRequestPreprocessCallback function initializes defined AssignAcxRequest Preprocess callbacks for circuit factories.
FactoryInitAn 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.
EvtObjectAcxRequestPreprocessA pointer to a EVT_ACX_OBJECT_PREPROCESS_REQUEST callback.
DriverContextThe driver context defined by the ACXCONTEXT object. For more information about ACX objects, see Summary of ACX Objects.
RequestTypeAn ACX_REQUEST_TYPE enum that defines different request types, such as AcxRequestTypeAny, AcxRequestTypeProperty, etc.
SetOptional GUID to identify a specific item set ID.
IdAn ID to identify a specific item in the specified set ID.
Returns STATUS_SUCCESS if the call was successful. Otherwise, it returns an appropriate error code. For more information, see Using NTSTATUS Values.
The driver can invoke this DDI multiple times to setup different preprocess callbacks. ACX invokes the first it finds that matches the specific incoming WDFREQUEST type.
Minimum ACX version: 1.0
For more information about ACX versions, see ACX version overview.