CTI32 Class Library

cti.FileOpen Method 

Opens a file in a compatible mode with Dialogic driver.

[Visual Basic]
Public Shared Function FileOpen( _
   ByVal filep As String, _
   ByVal flags As FileFlags _
) As Integer
[C#]
public static int FileOpen(
   string filep,
   FileFlags flags
);

Parameters

filep
The full path of the voice file you want to open.
flags
The same flags as specified for the C open call. This should be O_BINARY | O_RDONLY or O_BINARY | O_RDWR.

Return Value

Handle if successful or -1 if failure.

See Also

cti Class | CTI32NetLib Namespace