IHTMLDocument::Script Property

Gets an interface pointer that provides access to the scripting object via a handle to the script engine.

Syntax

HRESULT IHTMLDocument::get_Script(IDispatch **p);

Parameters

  • p
    Address of a pointer to a variable of type IDispatch interface that receives a handle to the script engine.

Return Value

Returns S_OK if successful, or an error value otherwise.