IAgentSpeechInputProperties::GetHotKey
[Microsoft Agent is deprecated as of Windows 7, and may be unavailable in subsequent versions of Windows.]
HRESULT GetHotKey(
BSTR * pbszHotCharKey // address of variable for listening key
);
Retrieves the current keyboard assignment for the speech input Listening key.
- Returns S_OK to indicate the operation was successful.
-
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