GetGlobalJavaScriptA

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 GetGlobalJavaScript and string arguments are interpreted using the current SetAnsiMode code page

Retrieves the global JavaScript for the specified package

Syntax

Delphi

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

DLL

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

Parameters

PackageNameThe JavaScript stored under this package name will be retrieved