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 関数を使用します