internal static partial ODBC32.SQLRETURN SQLGetDiagFieldW(
     /*SQLSMALLINT*/ ODBC32.SQL_HANDLE HandleType,
     /*SQLHANDLE*/ OdbcHandle Handle,
     /*SQLSMALLINT*/ short RecNumber,
     /*SQLSMALLINT*/ short DiagIdentifier,
     /*SQLPOINTER*/ char[] rchState,
     /*SQLSMALLINT*/ short BufferLength,
     /*SQLSMALLINT* */ out short StringLength);
Beispiel #2
0
 internal static extern /*SQLRETURN*/ ODBC32.RetCode SQLGetDiagFieldW(
     /*SQLSMALLINT*/ ODBC32.SQL_HANDLE HandleType,
     /*SQLHANDLE*/ OdbcHandle Handle,
     /*SQLSMALLINT*/ Int16 RecNumber,
     /*SQLSMALLINT*/ Int16 DiagIdentifier,
     /*SQLPOINTER*/ StringBuilder rchState,
     /*SQLSMALLINT*/ Int16 BufferLength,
     /*SQLSMALLINT* */ out Int16 StringLength);
Beispiel #3
0
 internal static extern /*SQLRETURN*/ ODBC32.SQLRETURN SQLGetDiagFieldW(
     /*SQLSMALLINT*/ ODBC32.SQL_HANDLE HandleType,
     /*SQLHANDLE*/ OdbcHandle Handle,
     /*SQLSMALLINT*/ short RecNumber,
     /*SQLSMALLINT*/ short DiagIdentifier,
     /*SQLPOINTER*/ [Out] StringBuilder rchState,
     /*SQLSMALLINT*/ short BufferLength,
     /*SQLSMALLINT* */ out short StringLength);
Beispiel #4
0
 internal static extern /*SQLRETURN*/ ODBC32.RetCode SQLGetDiagRecW(
     /*SQLSMALLINT*/ ODBC32.SQL_HANDLE HandleType,
     /*SQLHANDLE*/ OdbcHandle Handle,
     /*SQLSMALLINT*/ short RecNumber,
     /*SQLCHAR* */ [Out] StringBuilder rchState,
     /*SQLINTEGER* */ out int NativeError,
     /*SQLCHAR* */ [Out] StringBuilder MessageText,
     /*SQLSMALLINT*/ short BufferLength,
     /*SQLSMALLINT* */ out short TextLength);
 internal static partial ODBC32.SQLRETURN SQLGetDiagRecW(
     /*SQLSMALLINT*/ ODBC32.SQL_HANDLE HandleType,
     /*SQLHANDLE*/ OdbcHandle Handle,
     /*SQLSMALLINT*/ short RecNumber,
     /*SQLCHAR* */ char[] rchState,
     /*SQLINTEGER* */ out int NativeError,
     /*SQLCHAR* */ char[] MessageText,
     /*SQLSMALLINT*/ short BufferLength,
     /*SQLSMALLINT* */ out short TextLength);
Beispiel #6
0
 internal static extern /*SQLRETURN*/ ODBC32.RetCode SQLGetDiagFieldW(
     /*SQLSMALLINT*/ ODBC32.SQL_HANDLE HandleType,
     /*SQLHANDLE*/ OdbcHandle Handle,
     /*SQLSMALLINT*/ short RecNumber,
     /*SQLSMALLINT*/ short DiagIdentifier,
     [MarshalAs(UnmanagedType.LPWStr)]
     /*SQLPOINTER*/ StringBuilder rchState,
     /*SQLSMALLINT*/ short BufferLength,
     /*SQLSMALLINT* */ out short StringLength);
Beispiel #7
0
 internal static extern /*SQLRETURN*/ ODBC32.RetCode SQLAllocHandle(
     /*SQLSMALLINT*/ ODBC32.SQL_HANDLE HandleType,
     /*SQLHANDLE*/ OdbcHandle InputHandle,
     /*SQLHANDLE* */ out IntPtr OutputHandle);
 internal static partial ODBC32.SQLRETURN SQLAllocHandle(
     /*SQLSMALLINT*/ ODBC32.SQL_HANDLE HandleType,
     /*SQLHANDLE*/ OdbcHandle InputHandle,
     /*SQLHANDLE* */ out IntPtr OutputHandle);
 internal static extern ODBC32.RetCode SQLAllocHandle(ODBC32.SQL_HANDLE HandleType, OdbcHandle InputHandle, out IntPtr OutputHandle);
 internal static extern ODBC32.RetCode SQLGetDiagRecW(ODBC32.SQL_HANDLE HandleType, OdbcHandle Handle, short RecNumber, StringBuilder rchState, out int NativeError, StringBuilder MessageText, short BufferLength, out short TextLength);
 internal static extern ODBC32.RetCode SQLGetDiagFieldW(ODBC32.SQL_HANDLE HandleType, OdbcHandle Handle, short RecNumber, short DiagIdentifier, [MarshalAs(UnmanagedType.LPWStr)] StringBuilder rchState, short BufferLength, out short StringLength);