ImageGear Professional v18.2 > API Reference Guide > Core Component API Reference > Core Component Callback Functions Reference > LPFNIG_READ |
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.