LFile::FeedLoad

#include "ltwrappr.h"

virtual L_INT LFile::FeedLoad(pLBuffer)

LBuffer L_FAR * pLBuffer;

/* pointer to a LEAD buffer object*/

Supplies image data to the file-load process from a buffer that you provide.

Parameter

Description

pLBuffer

Pointer to an LBuffer object that contains the image data to load.

Returns

SUCCESS

The function was successful.

< 1

An error occurred. Refer to Return Codes.

Comments

This function supports the LFile::FeedLoadCallBack virtual function.

Use this function with the LFile::StartFeedLoad and LFile::StopFeedLoad functions. For a description of how the functions relate to each other, refer to LFile::StartFeedLoad.

This function cannot be used in combination with the Redirect input / output functions.

Required DLLs and Libraries

LTFIL
File format DLLs

For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application.

See Also

Functions:

LBitmapBase::GetLoadStatus, Class Members

Topics:

Raster Image Functions: Loading Files

 

Raster Image Functions: Redirecting Input and Output

 

Raster Image Functions: Input and Output

 

Loading and Saving Images

Example

For an example, refer to LFile::StartFeedLoad.