GetClientSite

IRichEditOle::GetClientSite method

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

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Richole.h

DLL

Msftedit.dll

See also

IRichEditOle

 

 

Show:
© 2016 Microsoft