Platform SDK: Agent

IAgentAudioOutputProperties::GetUsingSoundEffects

HRESULT GetUsingSoundEffects(
long * pbUsingSoundEffects  // address of variable sound effects output 
);                          // setting 

Retrieves a value indicating whether sound effects output is enabled.

pbUsingSoundEffects
Address of a variable that receives True if the sound effects output is currently enabled and False if disabled.

Sound effects for a character's animation are assigned in the Microsoft Agent Character Editor. Because this setting affects sound effects output for all characters, only the user can change this property in the Microsoft Agent property sheet.