SetOutlineTitleA

书签大纲

描述

末尾的 A 表示 ANSI(char)DLL 入口点;ActiveX/COM 接口仅公开 Unicode 形式。其行为与 SetOutlineTitle 相同,字符串参数使用当前 SetAnsiMode 代码页进行解释

设置书签项目的标题

语法

Delphi

Function DLSetOutlineTitleA(InstanceID, OutlineID: Integer; NewTitle: PAnsiChar): Integer;

DLL

int DLSetOutlineTitleA(int InstanceID, int OutlineID, const char * NewTitle);

参数

OutlineIDNewOutline 函数返回的大纲 ID。或者,使用 GetOutlineID 函数获取有效大纲 ID。大纲项目的新标题
NewTitle

返回值

0提供的 Outline ID 无效
1已成功设置大纲项目标题