// acxevents.h
typedef struct _ACX_PNPEVENT_CONFIG {
ULONG Size;
ULONG Flags;
GUID Event;
} ACX_PNPEVENT_CONFIG, *PACX_PNPEVENT_CONFIG;
View the official Windows Driver Kit DDI referenceNo description available.
The ACX_PNPEVENT_CONFIG structure is used to configure an ACXPNPEVENT.
SizeThe length, in bytes, of this structure.
FlagsBitwise OR of ACX_PNPEVENT_CONFIG_FLAGS.
EventA GUID that is used to identify the event.
The Event GUID is automatically retrieved from the ACXAUDIOMODULE and ACXKEYWORDSPOTTER when the event is associated with these two types of objects.
This example shows the use of the ACX_PNPEVENT_CONFIG structure.
ACX_PNPEVENT_CONFIG audioModuleEventCfg;
...
ACX_PNPEVENT_CONFIG_INIT(&audioModuleEventCfg);
WDF_OBJECT_ATTRIBUTES_INIT_CONTEXT_TYPE(&attributes, CODEC_PNPEVENT_CONTEXT);
attributes.ParentObject = audioModuleElement;
status = AcxPnpEventCreate(Device, audioModuleElement, &attributes, &audioModuleEventCfg, &audioModuleEvent);
Minimum ACX version: 1.0
For more information about ACX versions, see ACX version overview.