Share via


ISpSerializeState::GetSerializedState (SAPI 5.3)

Microsoft Speech API 5.3

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
S_OK
E_INVALIDARG
FAILED(hr)