RemoveGlobalJavaScriptA

Document properties, JavaScript

Description

The trailing A denotes the ANSI (char) DLL entry point; the ActiveX/COM surface exposes only the Unicode form. Behaviour is identical to RemoveGlobalJavaScript and string arguments are interpreted using the current SetAnsiMode code page

Removes a block of JavaScript from the global JavaScript store

Syntax

Delphi

Function DLRemoveGlobalJavaScriptA(InstanceID: Integer; PackageName: PAnsiChar): Integer;

DLL

int DLRemoveGlobalJavaScriptA(int InstanceID, const char* PackageName);

Parameters

PackageNameThe name that that JavaScript was stored under

Return values

0The specified package name could not be found
1The JavaScript was removed successfully