Contents Index Topic Contents | ||
Previous Topic: IActiveScript::GetScriptDispatch Next Topic: IActiveScript::GetScriptState |
IActiveScript::GetScriptSite
HRESULT GetScriptSite( REFIID iid, // interface identifier void **ppvSiteObject // address of host site interface );Retrieves the site object associated with the ActiveX Scripting engine.
- Returns one of the following values:
S_OK Success. E_INVALIDARG An argument was invalid. E_NOINTERFACE The specified interface is not supported. E_POINTER An invalid pointer was specified. S_FALSE No site has been set; the ppvSiteObject parameter is set to NULL.
- iid
- [in] Identifier of the requested interface.
- ppvSiteObject
- [out] Address of the location that receives the interface pointer to the host's site object.
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.