The EM_GETOLEINTERFACE message retrieves an IRichEditOle object that a client can use to access a rich edit control's OLE functionality.
EM_GETOLEINTERFACE
wParam = 0;
lParam = (LPARAM) (LPVOID FAR *) ppObject;
Returns a nonzero value if successful, or zero otherwise.
Windows NT: Requires version 3.51 or later.
Windows: Requires Windows 95 or later.
Windows CE: Unsupported.
Header: Declared in richedit.h.
Rich Edit Controls Overview, Rich Edit Messages, IRichEditOle