SetOutlineNamedDestinationA

注释和热点链接、书签

描述

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

将指定大纲项目(书签)的目标设置为具名目标

语法

Delphi

Function DLSetOutlineNamedDestinationA(InstanceID, OutlineID: Integer; DestName: PAnsiChar): Integer;

DLL

int DLSetOutlineNamedDestinationA(int InstanceID, int OutlineID, const char * DestName);

参数

OutlineIDNewOutline 函数返回的大纲 ID。或者,使用 GetOutlineID 函数获取有效的大纲 ID
DestName指定目标

返回值

0OutlineID 无效
1Success