ISpObjectTokenCategory::SetDefaultTokenId (SAPI 5.3)
Microsoft Speech API 5.3
ISpObjectTokenCategory::SetDefaultTokenId
ISpObjectTokenCategory::SetDefaultTokenId sets a specific token ID as the default for the category.
HRESULT SetDefaultTokenId(
LPCWSTR *pszTokenId
);
Parameters
- pszTokenId
[in] The null-terminated string name of the token ID to be used as the default.
Return values
Value |
S_OK |
SPERR_UNINITIALIZED |
E_INVALIDARG |
FAILED(hr) |
Remarks
The defaults are stored either directly in the category by setting the DefaultTokenID value in the category data key, or indirectly by the DefaultTokenIDLocation. Default tokens are discussed in Object Tokens and Registry Settings White Paper.