ITfPropertyStore::Serialize method (msctf.h)

Called to write the property store data into a stream for serialization.

Syntax

HRESULT Serialize(
  [in]  IStream *pStream,
  [out] ULONG   *pcb
);

Parameters

[in] pStream

Pointer to an IStream object that the property store data is written to.

[out] pcb

Pointer to a ULONG value that receives the number of bytes written to the stream.

Return value

This method can return one of these values.

Value Description
S_OK
The method was successful.
E_INVALIDARG
One or more parameters are invalid.

Remarks

The method must not move the stream insertion point before writing to the stream. The method must leave the insertion point at the end of the data written by the method.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps | UWP apps]
Minimum supported server Windows 2000 Server [desktop apps | UWP apps]
Target Platform Windows
Header msctf.h
DLL Msctf.dll
Redistributable TSF 1.0 on Windows 2000 Professional