GetDestNameA
注释和热点链接、目标和动作
描述
末尾的 A 表示 ANSI(char)DLL 入口点;ActiveX/COM 接口仅公开 Unicode 形式。行为与 GetDestName 相同,字符串参数使用当前 SetAnsiMode 代码页解释
返回文档名称树中存储的命名目标句柄名称或显式目标数组
语法
Delphi
Function DLGetDestNameA(InstanceID, DestID: Integer): PAnsiChar;
DLL
const char * DLGetDestNameA(int InstanceID, int DestID);
参数
| DestID | 由 GetActionDest、GetOpenActionDestination 或 GetNamedDestination 等 API 返回的目标句柄 |
|---|
返回值
| empty string | 该句柄不是命名目标,也未找到匹配的名称树条目 |
|---|---|
| name | 目标名称 |
备注
TraceGraphicsStates - PDF Library for Delphi 参考
另请参阅
GetOpenActionDestination、NewNamedDestination、SetOpenActionNamedDestination