IOleClientSite interface
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.
Members
The IOleClientSite interface inherits from the IUnknown interface. IOleClientSite also has these types of members:
Methods
The IOleClientSite interface has these methods.
| Method | Description |
|---|---|
| GetContainer |
Retrieves a pointer to the object's container. |
| GetMoniker |
Retrieves a moniker for the object's client site. |
| 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. |
| SaveObject |
Saves the embedded object associated with the client site. |
| ShowObject |
Asks a container to display its object to the user. |
Requirements
|
Minimum supported client |
Windows 2000 Professional [desktop apps | Windows Store apps] |
|---|---|
|
Minimum supported server |
Windows 2000 Server [desktop apps | Windows Store apps] |
|
Header |
|
|
IDL |
|
|
IID |
IID_IOleClientSite is defined as 00000118-0000-0000-C000-000000000046 |
See also