L_FeedInfo

#include "l_bitmap.h"

L_LTFIL_API L_INT EXT_FUNCTION L_FeedInfo(hInfo, pBuffer, dwBufferSize)

L_HGLOBAL hInfo;

void pointer that identifies the info process

L_UCHAR * pBuffer;

address of your buffer

L_SIZE_T dwBufferSize;

size of your buffer

Supplies image data to the file-info process from a buffer that you provide.

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.

pBuffer

The address of your buffer.

dwBufferSize

The size of your buffer.

Returns

SUCCESS

The function was successful, but more data is needed.

SUCCESS_ABORT

The function was successful, and no more data is needed. You can end the info process.

< 1

An error occurred. Refer to Return Codes.

Comments

Use this function with the L_StartFeedInfo and L_StopFeedInfo functions. 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

Win32, x64, Linux.

See Also

Functions:

L_FileInfo, L_StartFeedInfo, L_StopFeedInfo, 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.

Help Version 20.0.2018.7.30
Products | Support | Contact Us | Copyright Notices
© 1991-2018 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Raster Imaging C API Help