| org.eclipse.swt.internal.ole.win32.IObjectWithSite
IObjectWithSite | public class IObjectWithSite extends IUnknown (Code) | | Provide the interface IObjectWithSite, a lighter-weight siting mechanism
than IOleObject.
This interface is used by IE Browser Helper Objects, such as Google Gears.
See http://msdn2.microsoft.com/en-us/library/aa768220.aspx
|
Method Summary | |
public int | GetSite(GUID riid, int ppvObject) Return the last site set with SetSite. | public int | SetSite(IUnknown site) Sets the IUnknown interface of the site managing this object. |
IObjectWithSite | public IObjectWithSite(int address)(Code) | | |
GetSite | public int GetSite(GUID riid, int ppvObject)(Code) | | Return the last site set with SetSite.
Parameters: riid - IID of the interface to be returned Parameters: ppvObject - return value of the IObjectWithSite interface COM.S_OK on success, COM.E_FAIL if no site has been set, orCOM.E_NOINTERFACE if the requested interface is not supported |
SetSite | public int SetSite(IUnknown site)(Code) | | Sets the IUnknown interface of the site managing this object.
Parameters: site - an IUnknown interface to the browser object COM.S_OK always |
|
|