CTI32 Class Library

cti.CustomSeek Method 

Positions the file pointer to the specified location. (CUSTOM)

[Visual Basic]
Public Shared Function CustomSeek( _
   ByVal handle As Integer, _
   ByVal offset As Integer, _
   ByVal origin As Integer _
) As Integer
[C#]
public static int CustomSeek(
   int handle,
   int offset,
   int origin
);

Parameters

handle
The stream handle
offset
The position where you want the file pointer moved to
origin
Future Use

Return Value

The position of the file. -1 if error.

See Also

cti Class | CTI32NetLib Namespace