Microsoft® Windows® Script Interfaces IActiveScript::GetScriptSite |
Language Reference Previous Next |
HRESULT GetScriptSite( REFIID iid, // interface identifier void **ppvSiteObject // address of host site interface );
Retrieves the site object associated with the Windows Script engine.
Return Value | Meaning |
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. |