IRichEditOle::GetClientSite  5G.73_

Retrieves an IOleClientSite interface to be used when creating a new object. All objects inserted into a rich edit control must use client site interfaces returned by this function. A client site may be used with exactly one object.

HRESULT GetClientSite(

    LPOLECLIENTSITE FAR * lplpolesite

 

   );

 

 

Parameters

lplpoleclientsite

Pointer to the pointer variable that receives the address of the IOleClientSite interface.

 

Return Values

Returns success status. Use GetScodeAJMLLO to retrieve an SCODE. Can be S_OK on success or E_OUTOFMEMORY if memory could not be allocated for the client site.

See Also

IRichEditOle