This function will be called during file operations when a change of file size is required.
Copy Code
|
|
---|---|
typedef LONG (LPACCUAPI LPFNIG_SIZE_CHANGE)( AT_INT fd, AT_INT lSize ); |
Name | Type | Description |
---|---|---|
fd | AT_INT | Descriptor ID, from open. |
lSize | AT_INT | New size of file, in bytes. |
Returns the new size of the file, or -1 to indicate that an error occurred.
This function does not process image pixels.
This type of function is established by calling IG_file_IO_register().