Positions the file pointer to the specified location.
[Visual Basic]
Public Shared Function FileSeek( _
ByVal
handle As
Integer, _
ByVal
offset As
Integer, _
ByVal
origin As
Integer _
) As
Integer
[C#]
public static
int FileSeek(
int handle,
int offset,
int origin);
Parameters
-
handle
- The file handle returned from CTIFileOpen
-
offset
- The position where you want the file pointer moved to
-
origin
- This value should be SEEK_SET, SEEK_END, or SEEK_CUR
Return Value
The position of the file. -1 if error.
See Also
cti Class | CTI32NetLib Namespace