Поделиться через


IOleClientSite (Windows Embedded CE 6.0)

1/6/2010

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

Header Oleidl.h, oleidl.idl
Library oleaut32.lib, uuid.lib
Windows Embedded CE Windows CE 2.0 and later

See Also

Reference

OLE Interfaces
IUnknown

Concepts

Determining Supported COM APIs