// audiosensors.h
typedef struct _AUDIO_MODULE_ID {
GUID ClassId;
ULONG InstanceId;
} AUDIO_MODULE_ID, *PAUDIO_MODULE_ID;
View the official Windows Driver Kit DDI referenceNo description available.
The AUDIO_MODULE_ID structure identifies a specific audio module by its class and instance identifiers. This structure is used to target operations to a particular audio module within the audio system.
ClassIdA GUID that identifies the audio module class. This provides the type classification for the audio module.
InstanceIdA ULONG value that represents the instance identifier for the audio module. This distinguishes between multiple instances of the same audio module class.
The AUDIO_MODULE_ID structure is used throughout the audio sensors interface to specify which audio module should be the target of various operations, such as starting or stopping sensor sessions and managing buffers.
The combination of ClassId and InstanceId must uniquely identify an audio module within the system.