GetNamedDestinationA

分类:文档属性、注释和热点链接

描述

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

查找具有指定名称的命名目标,并返回可与 GetDestPage、GetDestType 和 GetDestValue 函数一起使用的 DestID

语法

Delphi

Function DLGetNamedDestinationA(InstanceID: Integer; DestName: PAnsiChar): Integer;

DLL

int DLGetNamedDestinationA(int InstanceID, const char * DestName);

参数

DestName要查找的命名目标名称

返回值

0找不到指定的命名目标
Non-zero可与目标函数配合使用的 DestID