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 函数 |