L_FeedLoad (original) (raw)
Summary
Supplies image data to the file-load process from a buffer that you provide.
Syntax
#include "l_bitmap.h"
L_LTFIL_API L_INT L_FeedLoad(hLoad, pBuffer, dwBufferSize)
Parameters
L_HGLOBAL hLoad
Handle that identifies the loading process. It is the same handle that you specify in the L_StartFeedLoad function.
L_UCHAR* pBuffer
The address of your buffer.
L_SIZE_T dwBufferSize
The size of your buffer.
Returns
Value | Meaning |
---|---|
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
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 L_StartFeedLoad.
For complete sample code, refer to the FEEDLOAD example.
LEADTOOLS Raster Imaging C API Help