Platform SDK: Agent

IAgentSpeechInputProperties::GetHotKey

HRESULT GetHotKey(
BSTR * pbszHotCharKey  // address of variable for listening key 
);                        

Retrieves the current keyboard assignment for the speech input Listening key.

pbszHotCharKey
Address of a BSTR that receives the current hotkey setting used to open the audio channel for speech input.

If GetEnabled returns False, querying this setting raises an error.

See Also

IAgentSpeechInputProperties::GetEnabled