Bewerken

Delen via


KSSOUNDDETECTORPROPERTY structure (ksmedia.h)

The KSSOUNDDETECTORPROPERTY structure specifies a node and an Event ID. All sound detector property calls into the driver are made using the KSSOUNDDETECTORPROPERTY structure.

Syntax

typedef struct {
  KSPROPERTY Property;
  GUID       EventId;
} KSSOUNDDETECTORPROPERTY, *PKSSOUNDDETECTORPROPERTY;

Members

Property

Specifies the property to get or set. This member is a structure of type KSPROPERTY.

EventId

Specifies the event ID GUID.

Remarks

The EventId is used to identify the different voice assistant/agents such as Cortana. By including the event id with all of the KSPROPERTY_SOUNDDETECTOR_* properties, each agent can be controlled separately, for example like arming "Cortana" without arming "Contoso".

Requirements

Requirement Value
Minimum supported client Windows 10, version 1903
Header ksmedia.h (include Ksmedia.h)

See also

KSPROPERTY

Multiple Voice Assistant