ISpSerializeState::GetSerializedState (Microsoft Speech Platform)

Microsoft Speech Platform SDK 11

Microsoft Speech Platform

ISpSerializeState::GetSerializedState

ISpSerializeState::GetSerializedState gets serialized data from the engine, thus allowing its current state to be stored and later restored for later speech data from the same source.

HRESULT GetSerializedState(
   BYTE     **ppbData,
   ULONG     *pulSize,
   DWORD      dwReserved
);

Parameters

ppbData
Pointer to the buffer that is to hold the serialized data.
pulSize
Size of the buffer, in bytes.
dwReserved
Reserved for future use.

Return values

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