The IOleClientSite interface is the primary means by which an embedded object obtains information about the location and extent of its display site, its moniker, its user interface, and other resources provided by its container. An object server calls IOleClientSite to request services from the container. A container must provide one instance of IOleClientSite for every compound-document object it contains.
IUnknown Methods | Description |
---|---|
QueryInterface | Returns pointers to supported interfaces. |
AddRef | Increments reference count. |
Release | Decrements reference count. |
IOleClientSite Methods | Description |
---|---|
SaveObject | Saves embedded object. |
GetMoniker | Requests object's moniker. |
GetContainer | Requests pointer to object's container. |
ShowObject | Asks container to display object. |
OnShowWindow | Notifies container when object becomes visible or invisible |
RequestNewObjectLayout | Asks container to resize display site. |
Windows NT: Use version 3.1 or later.
Windows: Use Windows 95 or later.
Windows CE: Unsupported.
Header: Declared in oleidl.h.