LBaseFile::SetRedirectIOFlags

#include "ltwrappr.h"

L_VOID LBaseFile::SetRedirectIOFlags(uEnableFlags=IO_REDIRECT_ALL)

L_UINT uEnableFlags;

/* flag that controls which I/O callbacks will be called */

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

Parameter

Description

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

LTKRN

For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application.

See Also

Functions:

Class Members

Topics:

Raster Image Functions: Input and Output

 

Annotation Functions: Input and Output

Example

For an example, refer to LFile::StartFeedwLoad.