VB.NET
Dim Ret As Integer
Dim Pad, Sad, Lstn As Short
Pad = 1 ' Primary Address = 1
Sad = 0 ' Secondary Address = None
Lstn = 0
Ret = GpDevFindEx(Pad, Sad, Lstn)
C
DWORD Ret;
short Pad, Sad, Lstn;
Pad = 1; /* Primary Address = 1 */
Sad = 0; /* Secondary Address = None */
Lstn = 0;
Ret = GpDevFindEx(Pad, Sad, &Lstn);
C#
uint Ret;
short Pad, Sad, Lstn;
Pad = 1; /* Primary Address = 1 */
Sad = 0; /* Secondary Address = None */
Lstn = 0;
Ret = gpib.DevFindEx(Pad, Sad, out Lstn);
Python
Ret = ctypes.c_ulong()
Pad, Sad, Lstn = ctypes.c_short(), ctypes.c_short(), ctypes.c_short()
Pad.value = 1; # Primary Address = 1
Sad.value = 0; # Secondary Address = None
Lstn.value = 0;
Ret.value = GpibPy.GpDevFindEx(Pad, Sad, ctypes.byref(Lstn))