L_FeedLoad

#include "l_bitmap.h"

L_LTFIL_API L_INT L_FeedLoad(hLoad, pBuffer, dwBufferSize)

L_HGLOBAL hLoad;

handle that identifies the loading process

L_UCHAR* pBuffer;

address of your buffer

L_SIZE_T dwBufferSize;

size of your buffer

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

Parameter

Description

hLoad

Handle that identifies the loading process. It is the same handle that you specify in the L_StartFeedLoad function.

pBuffer

The address of your buffer.

dwBufferSize

The size of your buffer.

Returns

SUCCESS

The function was successful.

< 1

An error occurred. Refer to Return Codes.

Comments

Use this function with the L_StartFeedLoad and L_StopFeedLoad functions. For a description of how the functions relate to each other, refer to L_StartFeedLoad.

This function cannot be used in combination with L_RedirectIO.

Required DLLs and Libraries

LTFIL

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

Platforms

Win32, x64, Linux.

See Also

Functions:

L_StartFeedLoad, L_StopFeedLoad, L_ChangeBitmapHeight, L_GetLoadStatus

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 a short example, refer to L_StartFeedLoad. For complete sample code, refer to the FEEDLOAD example.

Help Version 20.0.2018.1.19
Products | Support | Contact Us | Copyright Notices
© 1991-2018 LEAD Technologies, Inc. All Rights Reserved.
LEADTOOLS Raster Imaging C API Help