Export (0) Print
Expand All

Helper SpCreateNewToken (SAPI 5.4)

Speech API 5.4
Microsoft Speech API 5.4

SpCreateNewToken (by TokenId)

SpCreateNewToken creates a token forcefully.

Found in: sphelper.h

inline HRESULT SpCreateNewToken(
   const WCHAR       *pszTokenId,
   ISpObjectToken   **ppToken
);

Parameters

pszTokenId
[in] The null-terminated string indicating the token IDw.
ppToken
[out] The token being created. It is created with CoCreateInstance and must be manually freed when no longer required.

Return values

ValueDescription
S_OKFunction completed successfully.
FAILED (hr)Appropriate error message.
Show:
© 2014 Microsoft