ISpSerializeState::GetSerializedState (SAPI 5.3)
Speech API 5.3
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 );
- Pointer to the buffer that is to hold the serialized data.
- Size of the buffer, in bytes.
- Reserved for future use.
|S_OK||Function completed successfully.|
|E_INVALIDARG||A parameter is invalid.|
|FAILED(hr)||Appropriate error message.|