IOleClientSite:IUnknown

This interface is the primary means by which an embedded object obtains information about the location and extent of its display site, moniker, 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.

Methods

The following table shows the methods for this interface in alphabetical order. Like all COM interfaces, this interface inherits the methods for the IUnknown interface.

Method Description
IOleClientSite::GetContainer This method requests a pointer to an object's container.
IOleClientSite::GetMoniker This method requests an object's moniker.
IoleClientSite::OnShowWindow This method notifies a container when an object becomes visible or invisible.
IOleClientSite::RequestNewObjectLayout This method prompts a container to resize the display site.
IOleClientSite::SaveObject This method saves an embedded object.
IOleClientSite::ShowObject This method prompts a container to display an object.

Remarks

To determine whether the platform supports this interface, see Determining Supported COM APIs.

Requirements

OS Versions: Windows CE 2.0 and later.
Header: Oleidl.h, Oleidl.idl.
Link Library: Oleaut32.lib, Uuid.lib.

See Also

OLE Interfaces | Determining Supported COM APIs | IUnknown

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.