Note

Please see Azure Cognitive Services for Speech documentation for the latest supported speech solutions.

Microsoft Speech Platform

ISpObjectWithToken::SetObjectToken

ISpObjectWithToken::SetObjectToken binds the instance object to the specified token.

<pre IsFakePre="true" xmlns="http://www.w3.org/1999/xhtml"> <strong>HRESULT SetObjectToken(</strong><a runat="server" href="jj127672(v=msdn.10).md"><strong>ISpObjectToken</strong></a> *<em>pToken</em> <strong>);</strong> </pre>

Parameters

  • pToken
    [in] The token interface pointer this instance object is to combine with.

Return Values

Value Description
S_OK Function completed successfully.
E_POINTER pToken is invalid or bad.
E_OUTOFMEMORY Exceeded available memory.
FAILED(hr) Appropriate error message.