EM_SETOLECALLBACK message

Gives a rich edit control an IRichEditOleCallback object that the control uses to get OLE-related resources and information from the client.

Parameters

wParam

This parameter is not used; it must be zero.

lParam

Pointer to an IRichEditOleCallback object. The control calls the AddRef method for the object before returning.

Return value

If the operation succeeds, the return value is a nonzero value.

If the operation fails, the return value is zero.

Requirements

Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2003 [desktop apps only]
Header
Richedit.h