LFile::StopFeedLoad

#include "ltwrappr.h"

virtual L_INT LFile::StopFeedLoad()

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

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 LFile::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 LFile::StartFeedLoad.

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

Required DLLs and Libraries

Platforms

Win32, x64.

See Also

Functions

Topics

Example

For an example, refer to LFile::StartFeedLoad.

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

LEADTOOLS Raster Imaging C++ Class Library Help