This function will be called during file operations when a READ is required.
|
Copy Code
|
|
|---|---|
typedef LONG (ACCUAPI LPFNIG_READ) (
LONG fd,
LPBYTE lpBuffer,
LONG lSize
);
|
|
| Name | Type | Description |
|---|---|---|
| fd | LONG | File Descriptor handle. |
| lpBuffer | LPBYTE | Far pointer to buffer into which to read data. |
| lSize | LONG | Number of bytes to read. |
Return the number of bytes read, or -1 to indicate that an error occurred.
This function does not process image pixels.
IOSET
See the example for function IG_file_IO_register().
This type of function is established by calling IG_file_IO_register() function.