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