ISpShortcut::RemoveShortcut (Microsoft Speech Platform)

Microsoft Speech Platform SDK 11

Microsoft Speech Platform

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 Description
S_OK Function completed successfully.