FileListItemA

Miscellaneous functions

Description

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

Returns the file name stored at the specified index in the named list.

Syntax

Delphi

Function DLFileListItemA(InstanceID: Integer; ListName: PAnsiChar; Index: Integer): PAnsiChar;

DLL

const char * DLFileListItemA(int InstanceID, const char * ListName, int Index);

Parameters

ListNameThe name of the list to work with
IndexThe index of the file name to retrieve. The first item has an index of 1.