SetEmbeddedFileStrPropertyA
文件屬性
描述
結尾的 A 表示 ANSI(char)DLL 進入點;ActiveX/COM 介面只提供 Unicode 形式。行為與 SetEmbeddedFileStrProperty 完全相同,字串參數依目前 SetAnsiMode 的字碼頁解讀
設定指定內嵌檔案的某個屬性
語法
Delphi
Function DLSetEmbeddedFileStrPropertyA(InstanceID, Index, Tag: Integer; NewValue: PAnsiChar): Integer;
DLL
int DLSetEmbeddedFileStrPropertyA(int InstanceID, int Index, int Tag, const char* NewValue);
參數
| Index | 內嵌檔案的索引。必須是 1 到 EmbeddedFileCount 傳回值之間的數字 |
|---|---|
| Tag | 1 = 檔案名稱 2 = MIME 類型 3 = 建立日期 4 = 修改日期 5 = 標題 7 = 描述 |
| NewValue | 指定屬性的新值 |