static extern short SQLGetDiagRec(short handleType, int statementHandle,
Declare Function SQLGetDiagRec Lib "odbc32.dll" (ByVal handleType As Short, ByVal statementHandle As IntPtr,