ImageGear Professional DLL v18.1 for Windows
LPFNIG_READ
Send Feedback
ImageGear Professional v18.1 > 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:

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 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.

©2014. Accusoft Corporation. All Rights Reserved.