|Microsoft Windows Script Interfaces|
HRESULT SetScriptSite( IActiveScriptSite *pScriptSite // address of host script site );
[in] Address of the host-supplied script site to be associated with this instance of the scripting engine. The site must be uniquely assigned to this scripting engine instance; it cannot be shared with other scripting engines.
Returns one of the following values:
An unspecified error occurred; the scripting engine was unable to finish initializing the site.
An argument was invalid.
An invalid pointer was specified.
The call was not expected (for example, a site was already set).