GetNamedDestinationA

文件屬性、註解與熱點連結

描述

結尾的 A 表示 ANSI(char)DLL 進入點;ActiveX/COM 介面只提供 Unicode 形式。行為與 GetNamedDestination 完全相同,字串參數依目前 SetAnsiMode 的字碼頁解讀

找出指定名稱的具名目的地,並傳回 DestID,可搭配 GetDestPage、GetDestType 與 GetDestValue 函式使用

語法

Delphi

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

DLL

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

參數

DestName要搜尋的具名目的地名稱

傳回值

0找不到指定的具名目的地
Non-zeroDestID,可搭配各個目的地函式使用