GetCustomInformationA

文件屬性

描述

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

從文件傳回自訂值。此函式與 SetCustomInformation

語法

Delphi

Function DLGetCustomInformationA(InstanceID: Integer; Key: PAnsiChar): PAnsiChar;

DLL

const char * DLGetCustomInformationA(int InstanceID, const char * Key);

參數

Key指定要取出哪個鍵的值

傳回值

指定鍵的值;找不到該鍵則為空字串。鍵為 "Author"、"Keywords"、"Subject"、"Title"、"Creator" 或 "Producer" 時也會傳回空字串。這些鍵請用 GetInformation 函式。