EM_STREAMIN message
Applies to: desktop apps only
Replaces the contents of a rich edit control with a stream of data provided by an application defined–EditStreamCallback callback function.
Parameters
- wParam
-
Specifies the data format and replacement options. This value must be one of the following values.
Value Meaning - SF_RTF
RTF
- SF_TEXT
Text
In addition, you can specify the following flags.
- lParam
-
Pointer to an EDITSTREAM structure. On input, the pfnCallback member of this structure must point to an application defined–EditStreamCallback function. On output, the dwError member can contain a nonzero error code if an error occurred.
Return value
This message returns the number of characters read.
Remarks
When you send an EM_STREAMIN message, the rich edit control makes repeated calls to the EditStreamCallback function specified by the pfnCallback member of the EDITSTREAM structure. Each time the callback function is called, it fills a buffer with data to read into the control. This continues until the callback function indicates that the stream-in operation has been completed or an error occurs.
Requirements
|
Minimum supported client | Windows 2000 Professional |
|---|---|
|
Minimum supported server | Windows 2000 Server |
|
Header |
|
See also
- Reference
- EDITSTREAM
- EditStreamCallback
- EM_STREAMOUT
Send comments about this topic to Microsoft
Build date: 3/6/2012