CTI32 Class Library

cti.CustomRead Method 

Reads data from a custom stream

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

Parameters

handle
The stream handle.
buffer
Reference string where the input is placed
count
Number of bytes to read

Return Value

Number of bytes read. -1=Error

See Also

cti Class | CTI32NetLib Namespace