VB.NET
Dim Ret, Reg, Preg As Integer
Reg = 0 ' Register(Data in) specification
Ret = GpReadreg(Reg, Preg)
C
DWORD Ret, Reg, Preg;
Reg = 0; /* Register(Data in) specification */
Ret = GpReadreg(Reg, &Preg);
C#
uint Ret, Reg, Preg;
Reg = 0 /* Register(Data in) specification */
Ret = gpib.Readreg(Reg, out Preg);
Python
Ret, Reg, Preg = ctypes.c_ulong(), ctypes.c_ulong(), ctypes.c_ulong()
Reg.value = 0 # Register(Data in) specification
Ret.value = GpibPy.GpReadreg(Reg, ctypes.byref(Preg))