|Manuals

IHTMLDoc::LoadScript Method

Description

Loads a script from url.

Syntax

[id(0x000000CF)]
HRESULT _stdcall LoadScript([in] BSTR Url, [in, optional] BSTR Filename);

Parameters

Parameter Type Description
Url BSTR (required) The URL location of the script to load
Filename BSTR (optional) An optional filename parameter

Return Value

Returns an HRESULT indicating success or failure of the operation.