ISpObjectTokenEnumBuilder::AddTokensFromDataKey (SAPI 5.4)
Microsoft Speech API 5.4
ISpObjectTokenEnumBuilder::AddTokensFromDataKey
ISpObjectTokenEnumBuilder::AddTokensFromDataKey adds a new token using specified subkey and CategoryId information.
HRESULT AddTokensFromDataKey(ISpDataKey *pDataKey,
LPCWSTR *pszSubKey,
LPCWSTR *pszCategoryId
);
Parameters
- pDataKey
Address of an ISpDataKey interface that specifies the system registry key from which to create the token. - pszSubKey
Address of a null-terminated string containing the system registry subkey name. - pszCategoryId
Address of a null-terminated string containing the category identifier information for the system registry subkey.
Return values
Value |
S_OK |
E_INVALIDARG |
SPERR_UNINITIALIZED |
FAILED(hr) |