Tao.DevIl SDK Documentation

Il.ilSetRead Method 

datatype ILHANDLE is passed to these functions when used, so any internal datatype used by the differing language (or file handle) can be used.

[Visual Basic]
Public Shared Sub ilSetRead( _
   ByVal Open As fOpenRProc, _
   ByVal Close As fCloseRProc, _
   ByVal Eof As fEofProc, _
   ByVal Getc As fGetcProc, _
   ByVal Read As fReadProc, _
   ByVal Seek As fSeekRProc, _
   ByVal Tell As fTellRProc _
)
[C#]
public static void ilSetRead(
   fOpenRProc Open,
   fCloseRProc Close,
   fEofProc Eof,
   fGetcProc Getc,
   fReadProc Read,
   fSeekRProc Seek,
   fTellRProc Tell
);

Parameters

Open
Pointer to a function to open a file.
Close
Pointer to a function to close a file.
Eof
Pointer to a function that returns IL_TRUE if the end of file is reached.
Getc
Pointer to a function to return one byte from a file.
Read
Pointer to a function to read multiple bytes from a file.
Seek
Pointer to a function to change position in a file.
Tell
Pointer to a function to report the position in a file.

See Also

Il Class | Tao.DevIl Namespace