L_FeedInfo

Summary

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

Syntax

#include "l_bitmap.h"

L_LTFIL_API L_INT EXT_FUNCTION L_FeedInfo(hInfo, pBuffer, dwBufferSize)

Parameters

L_HGLOBAL hInfo

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

L_UCHAR * pBuffer

The address of your buffer.

L_SIZE_T dwBufferSize

The size of your buffer.

Returns

Value Meaning
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

Platforms

Win32, x64, Linux.

See Also

Functions

Topics

Example

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