L_StopFeedInfo

#include "l_bitmap.h"

L_LTFIL_API L_INT EXT_FUNCTION L_StopFeedInfo(hInfo)

L_VOID * hInfo;

/* void pointer that identifies the info process */

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

Parameter

Description

hInfo

A void pointer that identifies the info process. It is the same void pointer that you specify in the L_StartFeedInfo function.

Returns

SUCCESS

The function was successful.

< 1

An error occurred. Refer to Return Codes.

Comments

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

For a description of how the functions relate to each other, refer to L_SartFeedInfo.

This function cannot be used in combination with L_RedirectIO.

Also, for information on loading an image using the same mechanism, refer to L_FeedLoad.

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

Windows 2000 / XP/Vista, Windows CE, Vista.

See Also

Functions:

L_FileInfo, L_FeedInfo, L_StartFeedInfo, L_FeedLoad

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_StartFeedInfo. For complete sample code, refer to the FEEDINFO example