SaveImageListItemDataToFileA
图像处理
描述
末尾的 A 表示 ANSI(char)DLL 入口点;ActiveX/COM 接口仅公开 Unicode 形式。其行为与 SaveImageListItemDataToFile 相同,字符串参数按当前 SetAnsiMode 代码页解释
将图像列表项的图像数据保存到磁盘文件
语法
Delphi
Function DLSaveImageListItemDataToFileA(InstanceID, ImageListID, ImageIndex, Options: Integer; ImageFileName: PAnsiChar): Integer;
DLL
int DLSaveImageListItemDataToFileA(int InstanceID, int ImageListID, int ImageIndex, int Options, const char * ImageFileName);
参数
| ImageListID | GetPageImageList 函数返回的值 图像在列表中的索引。第一张图像的索引为 1 |
|---|---|
| ImageIndex | |
| Options | 保留供将来使用。应设置为 0 |
| ImageFileName | 要创建的文件的路径和文件名 |
返回值
| 0 | 无法保存图像数据 |
|---|---|
| 1 | 图像数据已成功保存 |