VB.NET
Dim Ret, Adr As Integer
Adr = 3 ' Destination device address
Ret = GpCwai(Adr)
C
DWORD Ret, Adr;
Adr = 3; /* Destination device address */
Ret = GpCwai(Adr);
C#
uint Ret, Adr;
Adr = 3; /* Destination device address */
Ret = gpib.Cwai(Adr);
Python
Ret, Adr = ctypes.c_ulong(), ctypes.c_ulong()
Adr.value = 3 # Destination device address
Ret.value = GpibPy.GpCwai(Adr)