IAgentCommands::GetVoice

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

HRESULT GetVoice(
   BSTR * pbszVoice  // address of Voice setting for Commands collection
);

Retrieves the value of the Voice property for a Commands collection.

  • Returns S_OK to indicate the operation was successful.

pbszVoice

The address of a BSTR that receives the value of the Voice text setting for a Commands collection.

See Also

IAgentCommands::SetVoice, IAgentCommands::GetCaption, IAgentCommands::GetVisible