EM_INSERTIMAGE message
Replaces the selection with a blob that displays an image.
#define EM_INSERTIMAGE (WM_USER + 314)
Parameters
- wParam
-
Not used; must be zero.
- lParam
-
A pointer to a RICHEDIT_IMAGE_PARAMETERS structure that contains the image blob.
Return value
Returns S_OK if successful, or one of the following error codes.
| Return code | Description |
|---|---|
|
Cannot insert the image. |
| The lParam parameter is NULL or points to an invalid image. |
|
Insufficient memory is available. |
Remarks
If the selection is an insertion point, the image blob is inserted at the insertion point.
Requirements
|
Minimum supported client | Windows 8 [desktop apps only] |
|---|---|
|
Minimum supported server | Windows Server 2012 [desktop apps only] |
|
Header |
|
See also
Send comments about this topic to Microsoft
Build date: 10/27/2012