ITfCreatePropertyStore::CreatePropertyStore method (msctf.h)

Creates a property store object from serialized property store data.

Syntax

HRESULT CreatePropertyStore(
  [in]  REFGUID          guidProp,
  [in]  ITfRange         *pRange,
  [in]  ULONG            cb,
  [in]  IStream          *pStream,
  [out] ITfPropertyStore **ppStore
);

Parameters

[in] guidProp

Contains the type identifier of the property. For more information, see ITfPropertyStore::GetType.

[in] pRange

Pointer to an ITfRange object that contains the text to be covered by the property store.

[in] cb

Contains the size, in bytes, of the property store data contained in pStream.

[in] pStream

Pointer to an IStream object that contains the property store data.

[out] ppStore

Pointer to an ITfPropertyStore interface pointer that receives the property store object created by this method.

Return value

This method can return one of these values.

Value Description
S_OK
The method was successful.

Requirements

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

See also

ITfCreatePropertyStore interface, ITfPropertyStore interface, ITfPropertyStore::GetType, ITfRange interface