CTI32 Class Library

cti.GetTimeSlot Method 

Returns the Dialogic timeslot for a given device.

[Visual Basic]
Public Shared Function GetTimeSlot( _
   ByVal dev1 As Integer, _
   ByVal type1 As DevType _
) As Integer
[C#]
public static int GetTimeSlot(
   int dev1,
   DevType type1
);

Parameters

dev1
The device number (chdev) returned from the CTIOpenVoicePort() or CTIOpenT1Port() or CTIOpenISDNPort().
type1
Type of device.

Return Value

-1=Error Returns the timeslot of the device.

See Also

cti Class | CTI32NetLib Namespace