EM_GETOLEINTERFACE message

Retrieves an IRichEditOle object that a client can use to access a rich edit control's Component Object Model (COM) functionality.

Parameters

wParam

This parameter is not used; it must be zero.

lParam

Pointer to a pointer that receives the IRichEditOle object. The control calls the AddRef method for the object before returning, so the calling application must call the Release method when it is done with the object.

Return value

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

If the operation fails, the return value is zero.

Requirements

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

See also

IRichEditOle