L_StopFeedLoad

Summary

Ends a file-load process in which you control the input stream. This cleans up all the variables and buffers allocated by the L_StartFeedLoad and L_FeedLoad functions and resets all internal variables to their default settings.

Syntax

#include "l_bitmap.h"

L_LTFIL_API L_INT L_StopFeedLoad(hLoad)

Parameters

L_HGLOBAL hLoad

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

Returns

Value Meaning
SUCCESS The function was successful.
< 1 An error occurred. Refer to Return Codes.

Comments

You must call this function to complete a file load that was started with L_StartFeedLoad. If you call this function before supplying the complete file, it will successfully clean up the process, but will return a file-read error. You should trap the error if the load is canceled purposely.

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

Platforms

Win32, x64, Linux.

See Also

Functions

Topics

Example

For an example, refer to L_StartFeedLoad.
For complete sample code, refer to the FEEDLOAD example

Help Version 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Raster Imaging C API Help

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.