Helper SpGetDefaultTokenIdFromCategoryId (Microsoft Speech Platform)

Microsoft Speech Platform SDK 11

Microsoft Speech Platform

SpGetDefaultTokenIdFromCategoryId

SpGetDefaultTokenIdFromCategoryId gets the default token ID for the specified category.

Found in: sphelper.h


inline HRESULT SpGetDefaultTokenIdFromCategoryId(
   const WCHAR   *pszCategoryId,
   WCHAR        **ppszTokenId
);

Parameters

pszCategoryId
[in] The null-terminated string indicating the category ID.
ppszTokenId
[out] The null-terminated string ID of the owning default token.

Return values

Value Description
S_OK Function completed successfully.
FAILED (hr) Appropriate error message.