GlobalJavaScriptPackageNameA

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

Returns the name of the JavaScript package with the specified index. This package name can be used with the GetGlobalJavaScript function.

Syntax

Delphi

Function DLGlobalJavaScriptPackageNameA(InstanceID, Index: Integer): PAnsiChar;

DLL

const char* DLGlobalJavaScriptPackageNameA(int InstanceID, int Index);

Parameters

IndexThe index of the global JavaScript package. The first package has an index of 1. The last package has an index equal to the value returned by the GlobalJavaScriptCount function.