IObjectWithSite有关问题

IObjectWithSite问题
IObjectWithSite有什么作用,包含了哪些方法,主要用在什么地方?我是初学者,麻烦大家说详细点~谢谢

------解决方案--------------------
这个可以去看MSDN,上面说得很清楚:
The IObjectWithSite interface provides a simple way to support communication between an object and its site in the container.


------解决方案--------------------
Methods in Vtable Order
IUnknown Methods Description
QueryInterface 
 Returns pointers to supported interfaces.
 
AddRef 
 Increments reference count.
 
Release 
 Decrements reference count.
 

IObjectWithSite Methods Description
SetSite 
 Provides the site's IUnknown pointer to the object being managed.
 
GetSite 
 Retrieves the last site set with IObjectWithSite::SetSite.
 
------解决方案--------------------
IObjectWithSite, IE的BHO的基接口.


=======================================================
FreeLaxy, your backup.
=======================================================