Provides 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.
Note This interface is not supported for use across machine boundaries.
Methods
The IOleClientSite interface inherits the methods of the IUnknown interface.
In addition, IOleClientSite defines the following methods.
| Method | Description |
SaveObject |
Saves the embedded object associated with the client site.
|
GetMoniker |
Retrieves a moniker for the object's client site.
|
GetContainer |
Retrieves a pointer to the object's container.
|
ShowObject |
Asks a container to display its object to the user.
|
OnShowWindow |
Notifies a container when an embedded object's window is about to become visible or invisible.
|
RequestNewObjectLayout |
Asks a container to resize the display site for embedded objects.
|
Requirements
| Minimum supported client | Windows 2000 Professional |
| Minimum supported server | Windows 2000 Server |
| Header | OleIdl.h |
| IDL | OleIdl.Idl |
| IID | IID_IOleClientSite is defined as 00000118-0000-0000-C000-000000000046 |
See Also
- IOleControlSite
- IOleDocumentSite
- IOleInPlaceSite
- IOleObject::GetClientSite
Send comments about this topic to Microsoft
Build date: 11/12/2009