IRichEditOleCallback::GetInPlaceContext  X.MC56

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 IOleInPlaceFrame2EGX_Z. 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 IOleInPlaceUIWindow32JJFQP 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 OLEINPLACEFRAMEINFO1U0YZQN structure that receives the accelerator information.

 

Return Values

Returns success status.

See Also

IOleInPlaceFrame, IRichEditOleCallback, OLEINPLACEFRAMEINFO