CTI32 Class Library

cti.FileRead Method 

Reads data from a file into a buffer.

[Visual Basic]
Public Shared Function FileRead( _
   ByVal handle As Integer, _
   ByRef buffer As String, _
   ByVal count As Integer _
) As Integer
[C#]
public static int FileRead(
   int handle,
   ref string buffer,
   int count
);

Parameters

handle
File handle from CTIFileOpen.
buffer
Buffer where you want the data written.
count
Number of bytes to read.

Return Value

Number of bytes read. -1 if error

See Also

cti Class | CTI32NetLib Namespace