ISpSerializeState::SetSerializedState (Microsoft Speech Platform)

Microsoft Speech Platform SDK 11

Microsoft Speech Platform

ISpSerializeState::SetSerializedState

ISpSerializeState::SetSerializedState sets previously stored serialized data, thus allowing an engine state to be reproduced.

HRESULT SetSerializedState(
   BYTE     *pbData,
   ULONG     ulSize,
   DWORD     dwReserved
);

Parameters

pbData
Pointer to the buffer that holds the previously stored serialized data.
ulSize
Size of the buffer, in bytes.
dwReserved
Reserved for future use. Currently, the only valid value for this parameter is 0. Any other value results in an error.

Return values

Value Description
S_OK Function completed successfully.
E_INVALIDARG A parameter is invalid.
FAILED(hr) Appropriate error message.