IRichEditOle::GetClientSite method (richole.h)
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.
Syntax
HRESULT GetClientSite(
LPOLECLIENTSITE *lplpolesite
);
Parameters
lplpolesite
Type: LPOLECLIENTSITE*
The address of the IOleClientSite interface.
Return value
Type: HRESULT
Returns S_OK on success, or a failure code otherwise. E_OUTOFMEMORY is returned if memory could not be allocated for the client site.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2003 [desktop apps only] |
Target Platform | Windows |
Header | richole.h |
DLL | Msftedit.dll |