IRichEditOleCallback::GetInPlaceContext

Provides the application and document level interfaces and information required to support in-place activation.

HRESULT GetInPlaceContext(

LPOLEINPLACEFRAME FAR * lplpFrame,  
LPOLEINPLACEUIWINDOW FAR * lplpDoc,  
LPOLEINPLACEFRAMEINFO lpFrameInfo  
);  

Parameters

lplpframe

Pointer to the pointer variable that receives the address of the IOleInPlaceFrame interface that represents the frame window of the a rich edit control client. Use the AddRef method to increment the reference count the rich edit control releases the interface when it no longer needed.

lplpDoc

Pointer to the pointer variable that receives the address of the IOleInPlaceUIWindow interface that represents the document window of the rich edit control client. An interface need not be returned if the frame and document windows are the same. Use the AddRef method to increment the reference count the rich edit control releases the interface when it no longer needed.

lpFrameInfo

Pointer to the OLEINPLACEFRAMEINFO structure that receives the accelerator information.

Return Values

Returns success status.

See Also

IOleInPlaceFrame, IRichEditOleCallback, OLEINPLACEFRAMEINFO