IAnchor::Clone method (textstor.h)
The IAnchor::Clone method produces a new anchor object positioned at the same location, and with the same gravity, as the current anchor.
Syntax
HRESULT Clone(
[out] IAnchor **ppaClone
);
Parameters
[out] ppaClone
A new anchor object, identical to the current anchor.
Return value
This method can return one of these values.
Value | Description |
---|---|
|
The method was successful. |
|
The method failed. |
|
ppaClone is invalid. |
Remarks
The change history and change history masks are both cleared in the cloned anchor.
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 | textstor.h |
DLL | Msctf.dll |
Redistributable | TSF 1.0 on Windows 2000 Professional |