Export (0) Print
Expand All

ISpShortcut::RemoveShortcut (SAPI 5.3)

Speech API 5.3
Microsoft Speech API 5.3

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

ValueDescription
S_OKFunction completed successfully.
Show:
© 2015 Microsoft