ISpObjectWithToken::SetObjectToken (Microsoft Speech Platform)

Microsoft Speech Platform SDK 11

Microsoft Speech Platform

ISpObjectWithToken::SetObjectToken

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

HRESULT SetObjectToken(
   ISpObjectToken  *pToken
);

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.