VB.NET
Dim Ret As Integer
Ret = GpExit()
C
DWORD Ret;
Ret = GpExit();
C#
uint Ret;
Ret = gpib.Exit();
Python
Ret = ctypes.c_ulong()
Ret.value = GpibPy.GpExit()