SaveImageListItemDataToFileA
Image handling
Description
The trailing A denotes the ANSI (char) DLL entry point; the ActiveX/COM surface exposes only the Unicode form. Behaviour is identical to SaveImageListItemDataToFile and string arguments are interpreted using the current SetAnsiMode code page
Saves the image data of an image list item to a file on disk
Syntax
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);
Parameters
| ImageListID | A value returned by the GetPageImageList function The index of the image in the list. The first image has an index of 1 |
|---|---|
| ImageIndex | |
| Options | Reserved for future use. Should be set to 0 |
| ImageFileName | The path and filename of the file to create |
Return values
| 0 | Image data could not be saved |
|---|---|
| 1 | Image data was saved successfully |