Provides simple objects with a lightweight siting mechanism (lighter than IOleObject).
MembersThe IObjectWithSite interface inherits from the IUnknown interface. IObjectWithSite also has these types of members:
The IObjectWithSite interface has these methods.
Often, an object must communicate directly with a container site that is managing the object. Outside of IOleObject::SetClientSite, there is no generic means through which an object becomes aware of its site. The IObjectWithSite interface provides a siting mechanism. This interface should only be used when IOleObject is not already in use. By using IObjectWithSite, a container can pass the IUnknown pointer of its site to the object through SetSite. Callers can also get the latest site passed to SetSite by using GetSite.
RequirementsMinimum supported client
Windows XP
Minimum supported server
Windows 2000 Server
Header
Ocidl.hIDL
Ocidl.idl Additional resources Additional resources In this articleRetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.3