ITfPropertyStore::Clone method (msctf.h)

Creates an exact copy of the property store object.

Syntax

HRESULT Clone(
  [out] ITfPropertyStore **pPropStore
);

Parameters

[out] pPropStore

Pointer to an ITfPropertyStore interface pointer that receives the new property store object.

Return value

This method can return one of these values.

Value Description
S_OK
The method was successful.
E_OUTOFMEMORY
A memory allocation failure occurred.

Remarks

This method creates a new property store object and initializes the new object so that it will operate as an exact copy of the original property store object. The new object must be completely independent of the original object.

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

See also

ITfPropertyStore