LBaseFile::SetRedirectIOFlags

Summary

Specifies which I/O functions should be redirected to the redirect I/O callback functions.

Syntax

#include "ltwrappr.h"

L_VOID LBaseFile::SetRedirectIOFlags(uEnableFlags=IO_REDIRECT_ALL)

Parameters

L_UINT uEnableFlags

Flag that controls which I/O callbacks will be called. Possible values are given below, and may be combined using the bitwise OR ( | ) operator.

Value Meaning
IO_OPEN Redirect Open
IO_CLOSE Redirect Close
IO_READ Redirect Read
IO_WRITE Redirect Write
IO_SEEK Redirect Seek
IO_REDIRECT_ALL Redirect all i/o callbacks

Returns

None.

Comments

If you set the flags to 0, then redirecting I/O will be disabled, even though redirection may be enabled through calling LBaseFile::EnableRedirectIO.

Required DLLs and Libraries

See Also

Functions

Topics

Example

For an example, refer to LFile::StartFeedLoad.

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++ Class Library Help

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.