SetOutlineWebLinkA

大綱

描述

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

指定使用者點擊大綱項目(書籤)時要開啟的網際網路連結

語法

Delphi

Function DLSetOutlineWebLinkA(InstanceID, OutlineID: Integer; Link: PAnsiChar): Integer;

DLL

int DLSetOutlineWebLinkA(int InstanceID, int OutlineID, const char * Link);

參數

OutlineID由 NewOutline 函式傳回的大綱 ID。也可以用 GetOutlineID 函式取得有效的大綱 ID
Link要連結的 URL。例如:"http://www.example.com/"、"mailto:[email protected]"

傳回值

0OutlineID 無效
1網頁連結動作已成功加入大綱項目