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
|How to edit the macro code to limit the number of characters when creating worksheet tab name||5||43|
|Add values of each row in an array||3||50|
|how to know if my Checkbox is True in VB6.0?||9||41|
|Advice in Xamarin||21||57|
Join the community of 500,000 technology professionals and ask your questions.
Connect with top rated Experts
21 Experts available now in Live!