GetBlockNameA
Blocks, Interaction
Description
The trailing A denotes the ANSI (char) DLL entry point; the ActiveX/COM surface exposes only the Unicode form. Behaviour is identical to GetBlockName and string arguments are interpreted using the current SetAnsiMode code page
Returns the name of a template block, which is the first segment of its contents string
Syntax
Delphi
Function DLGetBlockNameA(InstanceID, Page, BlockIndex: Integer): PAnsiChar;
DLL
const char* DLGetBlockNameA(int InstanceID, int Page, int BlockIndex);
Parameters
| Page | Page number |
|---|---|
| BlockIndex | 1-based block index on that page |
Return values
| Block name, or an empty string when the index is out of range |