EDITSTREAM

王朝百科·作者佚名  2010-06-13
窄屏简体版  字體: |||超大  

EDITSTREAM StructureTheEDITSTREAMstructure contains information that an application passes to a rich edit control in a EM_STREAMIN or EM_STREAMOUT message. The rich edit control uses the information to transfer a stream of data into or out of the control.

Syntax

typedef struct _editstream { DWORD_PTR dwCookie; DWORD dwError; EDITSTREAMCALLBACK pfnCallback;} EDITSTREAM;Members

dwCookieSpecifies an application-defined value that the rich edit control passes to the EditStreamCallback callback function specified by thepfnCallbackmember.dwErrorIndicates the results of the stream-in (read) or stream-out (write) operation. A value of zero indicates no error. A nonzero value can be the return value of theEditStreamCallbackfunction or a code indicating that the control encountered an error.pfnCallbackPointer to anEditStreamCallbackfunction, which is an application-defined function that the control calls to transfer data. The control calls the callback function repeatedly, transferring a portion of the data with each call. Structure Information

Header

Declared in Richedit.h

Minimum operating systems

Windows 95, Windows NT 4.0

 
 
 
免责声明:本文为网络用户发布,其观点仅代表作者个人观点,与本站无关,本站仅提供信息存储服务。文中陈述内容未经本站证实,其真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
 
 
© 2005- 王朝網路 版權所有 導航