ImageGear Professional DLL v17.1 for Windows Accusoft
LPFNIG_READ
Send Feedback  
ImageGear Professional DLL v17.1 for Windows > API Reference Guide > Core Component API Reference > Core Component Callback Functions Reference > LPFNIG_READ

Glossary Item Box

This function will be called during file operations when a READ is required.

Declaration:

  Copy Code
typedef LONG (ACCUAPI LPFNIG_READ) ( 
        LONG fd, 
        LPBYTE lpBuffer, 
        LONG lSize 
);

Arguments:

fd File Descriptor handle.
lpBuffer Far pointer to buffer into which to read data.
lSize Number of bytes to read.

Return Value:

Return the number of bytes read, or -1 to indicate that an error occurred.

Supported Raster Image Formats:

This function does not process image pixels.

Sample:

IOSET

Example:

See the example for function IG_file_IO_register().

Remarks:

This type of function is established by calling IG_file_IO_register() function.

©2012. Accusoft Corporation. All Rights Reserved.