DOCERR: Return Values for EditStreamCallback Are IncorrectLast reviewed: January 5, 1998Article ID: Q136810 |
The information in this article applies to:
SUMMARYThe Win32 SDK documents the return values for the EditStreamCallback incorrectly when the RichEdit control is streaming text in and out. Currently the documentation states that the return value is dependant on whether the control is reading text in or writing text out. The correct return value for both reading and writing is zero if the read or write was successful, or a non-zero error code otherwise. The number of bytes read or written should be returned in the *pcb parameter. The EditStreamCallback function is called until *pcb receives a zero value. The return value from the EditStreamCallback is interpreted as an SCODE and zero is a successful SCODE. The error code that is returned by the EditStreamCallback is copied to the EDITSTREAM.dwError field so the caller can get an error status.
|
Additional query words: 1.30 4.00 EM_STREAMIN EM_STREAMOUT RichEdit
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |