GetBlockNameA
块、交互
描述
末尾的 A 表示 ANSI(char)DLL 入口点;ActiveX/COM 接口仅公开 Unicode 形式。其行为与 GetBlockName 相同,字符串参数按当前 SetAnsiMode 代码页解释
返回模板块名称,即其 contents 字符串的第一段
语法
Delphi
Function DLGetBlockNameA(InstanceID, Page, BlockIndex: Integer): PAnsiChar;
DLL
const char* DLGetBlockNameA(int InstanceID, int Page, int BlockIndex);
参数
| Page | 页码 |
|---|---|
| BlockIndex | 该页面上从 1 开始的块索引 |
返回值
| 块名称;索引越界时返回空字符串 |