IAgentAudioOutputProperties::GetUsingSoundEffects

[Microsoft Agent is deprecated as of Windows 7, and may be unavailable in subsequent versions of Windows.]

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

Retrieves a value indicating whether sound effects output is enabled.

  • Returns S_OK to indicate the operation was successful.

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.