IAgentCommands::GetCaption

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

HRESULT GetCaption(
   BSTR * pbszCaption  // address of Caption text for Commands collection
);

Retrieves the Caption for a Commands collection.

  • Returns S_OK to indicate the operation was successful.

pbszCaption

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

See Also

IAgentCommands::SetCaption, IAgentCommands::GetVisible, IAgentCommands::GetVoice