Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Inserts an embedded object at the specified character.
Syntax
HRESULT InsertEmbedded(
[in] DWORD dwFlags,
[in] LONG acpStart,
[in] LONG acpEnd,
[in] IDataObject *pDataObject,
[out] TS_TEXTCHANGE *pChange
);
Parameters
[in] dwFlags
Must be TS_IE_CORRECTION.
[in] acpStart
Contains the starting character position where the object is inserted.
[in] acpEnd
Contains the ending character position where the object is inserted.
[in] pDataObject
Pointer to an IDataObject interface that contains data about the object inserted.
[out] pChange
Pointer to a TS_TEXTCHANGE structure that receives data about the modified text.
Return value
This method can return one of these values.
Value | Description |
---|---|
|
The method was successful. |
|
One or more parameters are invalid. |
|
The application does not support embedded objects. |
|
The application does not support the data type contained in pDataObject. |
|
acpStart and/or acpEnd are not within the document. |
|
The caller does not have a read/write lock. |
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 8 [desktop apps | UWP apps] |
Minimum supported server | Windows Server 2012 [desktop apps | UWP apps] |
Target Platform | Windows |
Header | textstor.h |
DLL | Msctf.dll |