Share via


ISpSerializeState::SetSerializedState (SAPI 5.4)

Microsoft Speech API 5.4

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