ISpShortcut::RemoveShortcut (SAPI 5.4)
Microsoft Speech API 5.4
ISpShortcut::RemoveShortcut
ISpShortcut::RemoveShortcut removes a user shortcut. All four parameters are needed so that the shortcut can be unambiguously identified.
HRESULT RemoveShortcut(
LPCWSTR pszDisplay,
LANGID LangID,
LPCWSTR pszSpoken,
SPSHORTCUTTYPE shType
);
Parameters
- pszDisplay
The display text for the shortcut. - LangID
The language ID of the shortcut (0 equals default). - pszSpoken
The text the recognizer should listen for. - shType
The type of shortcut.
Return values
Value |
S_OK |