LVectorFile::StopFeedLoad

#include "ltwrappr.h"

virtual L_INT LVectorFile::StopFeedLoad(L_VOID)

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

Returns

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

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

You should never pass an uninitialized FILEINFO structure to this function.

Required DLLs and Libraries

LVKRN
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.

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
LEADTOOLS Vector C++ Class Library Help