Your question, your audience. Choose who sees your identity—and your question—with question security.
The Function declaration for use in vb6:
Public Type ctcAssignData deviceType As Integer APIversion As String * 1 APIextensions As String * 1 deviceDN As String * 24 End Type
Declare Function ctcAssign Lib "ctcapi32.dll" (channel As Long, struct As ctcAssignData, ByVal server As String, ByVal logid As String, ByVal network As String) As Long
Private Sub Command1_Click() Dim channel As Long Dim struct As ctcAssignData Dim CallID As Long Dim status As Long struct.deviceDN = "322" struct.deviceType = 200 struct.APIversion =&H40 struct.APIextensions = 2 status = ctcAssign(channel, struct, "servername", "server_logical_name", "ncacn_ip_tcp") End Sub
Join the community of 500,000 technology professionals and ask your questions.