23#include <rtl/ustring.hxx>
24#include <osl/module.h>
34 typedef SQLRETURN (SQL_API *
T3SQLAllocHandle) (SQLSMALLINT HandleType,SQLHANDLE InputHandle,SQLHANDLE * OutputHandlePtr);
36 #define N3SQLAllocHandle(a,b,c) (*reinterpret_cast<T3SQLAllocHandle>(getOdbcFunction(ODBC3SQLFunctionId::AllocHandle)))(a,b,c)
38 typedef SQLRETURN (SQL_API *
T3SQLConnect) (SQLHDBC ConnectionHandle,SQLCHAR *ServerName,SQLSMALLINT NameLength1,SQLCHAR *UserName,SQLSMALLINT NameLength2,SQLCHAR *Authentication,SQLSMALLINT NameLength3);
40 #define N3SQLConnect(a,b,c,d,e,f,g) (*reinterpret_cast<T3SQLConnect>(getOdbcFunction(ODBC3SQLFunctionId::Connect)))(a,b,c,d,e,f,g)
44 SQLCHAR * InConnectionString,
45 SQLSMALLINT StringLength1,
46 SQLCHAR * OutConnectionString,
47 SQLSMALLINT BufferLength,
48 SQLSMALLINT * StringLength2Ptr,
49 SQLUSMALLINT DriverCompletion);
51 #define N3SQLDriverConnect(a,b,c,d,e,f,g,h) (*reinterpret_cast<T3SQLDriverConnect>(getOdbcFunction(ODBC3SQLFunctionId::DriverConnect)))(a,b,c,d,e,f,g,h)
54 SQLCHAR * InConnectionString,
55 SQLSMALLINT StringLength1,
56 SQLCHAR * OutConnectionString,
57 SQLSMALLINT BufferLength,
58 SQLSMALLINT * StringLength2Ptr);
60 #define N3SQLBrowseConnect(a,b,c,d,e,f) (*reinterpret_cast<T3SQLBrowseConnect>(getOdbcFunction(ODBC3SQLFunctionId::BrowseConnect)))(a,b,c,d,e,f)
66 SQLSMALLINT BufferLength1,
67 SQLSMALLINT * NameLength1Ptr,
68 SQLCHAR * Description,
69 SQLSMALLINT BufferLength2,
70 SQLSMALLINT * NameLength2Ptr);
72 #define N3SQLDataSources(a,b,c,d,e,f,g,h) (*reinterpret_cast<T3SQLDataSources>(getOdbcFunction(ODBC3SQLFunctionId::DataSources)))(a,b,c,d,e,f,g,h)
74 typedef SQLRETURN (SQL_API *
T3SQLDrivers) ( SQLHENV EnvironmentHandle,
76 SQLCHAR * DriverDescription,
77 SQLSMALLINT BufferLength1,
78 SQLSMALLINT * DescriptionLengthPtr,
79 SQLCHAR * DriverAttributes,
80 SQLSMALLINT BufferLength2,
81 SQLSMALLINT * AttributesLengthPtr);
83 #define N3SQLDrivers(a,b,c,d,e,f,g,h) (*reinterpret_cast<T3SQLDrivers>(getOdbcFunction(ODBC3SQLFunctionId::Drivers)))(a,b,c,d,e,f,g,h)
85 typedef SQLRETURN (SQL_API *
T3SQLGetInfo) ( SQLHDBC ConnectionHandle,
86 SQLUSMALLINT InfoType,
87 SQLPOINTER InfoValuePtr,
88 SQLSMALLINT BufferLength,
89 SQLSMALLINT * StringLengthPtr);
91 #define N3SQLGetInfo(a,b,c,d,e) (*reinterpret_cast<T3SQLGetInfo>(getOdbcFunction(ODBC3SQLFunctionId::GetInfo)))(a,b,c,d,e)
94 SQLUSMALLINT FunctionId,
95 SQLUSMALLINT * SupportedPtr);
97 #define N3SQLGetFunctions(a,b,c) (*reinterpret_cast<T3SQLGetFunctions>(getOdbcFunction(ODBC3SQLFunctionId::GetFunctions)))(a,b,c)
102 #define N3SQLGetTypeInfo(a,b) (*reinterpret_cast<T3SQLGetTypeInfo>(getOdbcFunction(ODBC3SQLFunctionId::GetTypeInfo)))(a,b)
108 SQLINTEGER StringLength);
110 #define N3SQLSetConnectAttr(a,b,c,d) (*reinterpret_cast<T3SQLSetConnectAttr>(getOdbcFunction(ODBC3SQLFunctionId::SetConnectAttr)))(a,b,c,d)
115 SQLINTEGER BufferLength,
116 SQLINTEGER* StringLength);
118 #define N3SQLGetConnectAttr(a,b,c,d,e) (*reinterpret_cast<T3SQLGetConnectAttr>(getOdbcFunction(ODBC3SQLFunctionId::GetConnectAttr)))(a,b,c,d,e)
124 SQLINTEGER StringLength);
126 #define N3SQLSetEnvAttr(a,b,c,d) (*reinterpret_cast<T3SQLSetEnvAttr>(getOdbcFunction(ODBC3SQLFunctionId::SetEnvAttr)))(a,b,c,d)
131 SQLINTEGER BufferLength,
132 SQLINTEGER* StringLength);
134 #define N3SQLGetEnvAttr(a,b,c,d,e) (*reinterpret_cast<T3SQLGetEnvAttr>(getOdbcFunction(ODBC3SQLFunctionId::GetEnvAttr)))(a,b,c,d,e)
140 SQLINTEGER StringLength);
142 #define N3SQLSetStmtAttr(a,b,c,d) (*reinterpret_cast<T3SQLSetStmtAttr>(getOdbcFunction(ODBC3SQLFunctionId::SetStmtAttr)))(a,b,c,d)
147 SQLINTEGER BufferLength,
148 SQLINTEGER* StringLength);
150 #define N3SQLGetStmtAttr(a,b,c,d,e) (*reinterpret_cast<T3SQLGetStmtAttr>(getOdbcFunction(ODBC3SQLFunctionId::GetStmtAttr)))(a,b,c,d,e)
202 SQLCHAR * StatementText,
205 #define N3SQLPrepare(a,b,c) (*reinterpret_cast<T3SQLPrepare>(getOdbcFunction(ODBC3SQLFunctionId::Prepare)))(a,b,c)
208 SQLUSMALLINT ParameterNumber,
209 SQLSMALLINT InputOutputType,
211 SQLSMALLINT ParameterType,
213 SQLSMALLINT DecimalDigits,
214 SQLPOINTER ParameterValuePtr,
216 SQLLEN * StrLen_or_IndPtr);
218 #define N3SQLBindParameter(a,b,c,d,e,f,g,h,i,j) (*reinterpret_cast<T3SQLBindParameter>(getOdbcFunction(ODBC3SQLFunctionId::BindParameter)))(a,b,c,d,e,f,g,h,i,j)
229 SQLCHAR * CursorName,
230 SQLSMALLINT NameLength);
232 #define N3SQLSetCursorName(a,b,c) (*reinterpret_cast<T3SQLSetCursorName>(getOdbcFunction(ODBC3SQLFunctionId::SetCursorName)))(a,b,c)
237 #define N3SQLExecute(a) (*reinterpret_cast<T3SQLExecute>(getOdbcFunction(ODBC3SQLFunctionId::Execute)))(a)
240 SQLCHAR * StatementText,
243 #define N3SQLExecDirect(a,b,c) (*reinterpret_cast<T3SQLExecDirect>(getOdbcFunction(ODBC3SQLFunctionId::ExecDirect)))(a,b,c)
246 SQLUSMALLINT ParameterNumber,
247 SQLSMALLINT * DataTypePtr,
248 SQLULEN * ParameterSizePtr,
249 SQLSMALLINT * DecimalDigitsPtr,
250 SQLSMALLINT * NullablePtr);
252 #define N3SQLDescribeParam(a,b,c,d,e,f) (*reinterpret_cast<T3SQLDescribeParam>(getOdbcFunction(ODBC3SQLFunctionId::DescribeParam)))(a,b,c,d,e,f)
255 SQLSMALLINT * ParameterCountPtr);
257 #define N3SQLNumParams(a,b) (*reinterpret_cast<T3SQLNumParams>(getOdbcFunction(ODBC3SQLFunctionId::NumParams)))(a,b)
260 SQLPOINTER * ValuePtrPtr);
262 #define N3SQLParamData(a,b) (*reinterpret_cast<T3SQLParamData>(getOdbcFunction(ODBC3SQLFunctionId::ParamData)))(a,b)
266 SQLLEN StrLen_or_Ind);
268 #define N3SQLPutData(a,b,c) (*reinterpret_cast<T3SQLPutData>(getOdbcFunction(ODBC3SQLFunctionId::PutData)))(a,b,c)
272 SQLLEN * RowCountPtr);
274 #define N3SQLRowCount(a,b) (*reinterpret_cast<T3SQLRowCount>(getOdbcFunction(ODBC3SQLFunctionId::RowCount)))(a,b)
277 SQLSMALLINT * ColumnCountPtr);
279 #define N3SQLNumResultCols(a,b) (*reinterpret_cast<T3SQLNumResultCols>(getOdbcFunction(ODBC3SQLFunctionId::NumResultCols)))(a,b)
284 SQLSMALLINT BufferLength,
285 SQLSMALLINT * NameLengthPtr,
286 SQLSMALLINT * DataTypePtr,
287 SQLULEN * ColumnSizePtr,
288 SQLSMALLINT * DecimalDigitsPtr,
289 SQLSMALLINT * NullablePtr);
291 #define N3SQLDescribeCol(a,b,c,d,e,f,g,h,i) (*reinterpret_cast<T3SQLDescribeCol>(getOdbcFunction(ODBC3SQLFunctionId::DescribeCol)))(a,b,c,d,e,f,g,h,i)
295 SQLUSMALLINT FieldIdentifier,
296 SQLPOINTER CharacterAttributePtr,
297 SQLSMALLINT BufferLength,
298 SQLSMALLINT * StringLengthPtr,
299 SQLLEN * NumericAttributePtr);
301 #define N3SQLColAttribute(a,b,c,d,e,f,g) (*reinterpret_cast<T3SQLColAttribute>(getOdbcFunction(ODBC3SQLFunctionId::ColAttribute)))(a,b,c,d,e,f,g)
305 SQLSMALLINT TargetType,
306 SQLPOINTER TargetValuePtr,
308 SQLLEN * StrLen_or_IndPtr);
310 #define N3SQLBindCol(a,b,c,d,e,f) (*reinterpret_cast<T3SQLBindCol>(getOdbcFunction(ODBC3SQLFunctionId::BindCol)))(a,b,c,d,e,f)
312 typedef SQLRETURN (SQL_API *
T3SQLFetch) ( SQLHSTMT StatementHandle);
314 #define N3SQLFetch(a) (*reinterpret_cast<T3SQLFetch>(getOdbcFunction(ODBC3SQLFunctionId::Fetch)))(a)
317 SQLSMALLINT FetchOrientation,
320 #define N3SQLFetchScroll(a,b,c) (*reinterpret_cast<T3SQLFetchScroll>(getOdbcFunction(ODBC3SQLFunctionId::FetchScroll)))(a,b,c)
324 SQLSMALLINT TargetType,
325 SQLPOINTER TargetValuePtr,
327 SQLLEN * StrLen_or_IndPtr);
329 #define N3SQLGetData(a,b,c,d,e,f) (*reinterpret_cast<T3SQLGetData>(getOdbcFunction(ODBC3SQLFunctionId::GetData)))(a,b,c,d,e,f)
331 typedef SQLRETURN (SQL_API *
T3SQLSetPos) ( SQLHSTMT StatementHandle,
332 SQLSETPOSIROW RowNumber,
334 SQLUSMALLINT LockType);
336 #define N3SQLSetPos(a,b,c,d) (*reinterpret_cast<T3SQLSetPos>(getOdbcFunction(ODBC3SQLFunctionId::SetPos)))(a,b,c,d)
341 #define N3SQLBulkOperations(a,b) (*reinterpret_cast<T3SQLBulkOperations>(getOdbcFunction(ODBC3SQLFunctionId::BulkOperations)))(a,b)
345 #define N3SQLMoreResults(a) (*reinterpret_cast<T3SQLMoreResults>(getOdbcFunction(ODBC3SQLFunctionId::MoreResults)))(a)
359 SQLSMALLINT RecNumber,
361 SQLINTEGER * NativeErrorPtr,
362 SQLCHAR * MessageText,
363 SQLSMALLINT BufferLength,
364 SQLSMALLINT * TextLengthPtr);
367 #define N3SQLGetDiagRec(a,b,c,d,e,f,g,h) (*reinterpret_cast<T3SQLGetDiagRec>(getOdbcFunction(ODBC3SQLFunctionId::GetDiagRec)))(a,b,c,d,e,f,g,h)
371 SQLCHAR * CatalogName,
372 SQLSMALLINT NameLength1,
373 SQLCHAR * SchemaName,
374 SQLSMALLINT NameLength2,
376 SQLSMALLINT NameLength3,
378 SQLSMALLINT NameLength4);
380 #define N3SQLColumnPrivileges(a,b,c,d,e,f,g,h,i) (*reinterpret_cast<T3SQLColumnPrivileges>(getOdbcFunction(ODBC3SQLFunctionId::ColumnPrivileges)))(a,b,c,d,e,f,g,h,i)
383 SQLCHAR * CatalogName,
384 SQLSMALLINT NameLength1,
385 SQLCHAR * SchemaName,
386 SQLSMALLINT NameLength2,
388 SQLSMALLINT NameLength3,
390 SQLSMALLINT NameLength4);
392 #define N3SQLColumns(a,b,c,d,e,f,g,h,i) (*reinterpret_cast<T3SQLColumns>(getOdbcFunction(ODBC3SQLFunctionId::Columns)))(a,b,c,d,e,f,g,h,i)
395 SQLCHAR * PKCatalogName,
396 SQLSMALLINT NameLength1,
397 SQLCHAR * PKSchemaName,
398 SQLSMALLINT NameLength2,
399 SQLCHAR * PKTableName,
400 SQLSMALLINT NameLength3,
401 SQLCHAR * FKCatalogName,
402 SQLSMALLINT NameLength4,
403 SQLCHAR * FKSchemaName,
404 SQLSMALLINT NameLength5,
405 SQLCHAR * FKTableName,
406 SQLSMALLINT NameLength6);
408 #define N3SQLForeignKeys(a,b,c,d,e,f,g,h,i,j,k,l,m) (*reinterpret_cast<T3SQLForeignKeys>(getOdbcFunction(ODBC3SQLFunctionId::ForeignKeys)))(a,b,c,d,e,f,g,h,i,j,k,l,m)
411 SQLCHAR * CatalogName,
412 SQLSMALLINT NameLength1,
413 SQLCHAR * SchemaName,
414 SQLSMALLINT NameLength2,
416 SQLSMALLINT NameLength3);
418 #define N3SQLPrimaryKeys(a,b,c,d,e,f,g) (*reinterpret_cast<T3SQLPrimaryKeys>(getOdbcFunction(ODBC3SQLFunctionId::PrimaryKeys)))(a,b,c,d,e,f,g)
421 SQLCHAR * CatalogName,
422 SQLSMALLINT NameLength1,
423 SQLCHAR * SchemaName,
424 SQLSMALLINT NameLength2,
426 SQLSMALLINT NameLength3,
428 SQLSMALLINT NameLength4);
430 #define N3SQLProcedureColumns(a,b,c,d,e,f,g,h,i) (*reinterpret_cast<T3SQLProcedureColumns>(getOdbcFunction(ODBC3SQLFunctionId::ProcedureColumns)))(a,b,c,d,e,f,g,h,i)
433 SQLCHAR * CatalogName,
434 SQLSMALLINT NameLength1,
435 SQLCHAR * SchemaName,
436 SQLSMALLINT NameLength2,
438 SQLSMALLINT NameLength3);
440 #define N3SQLProcedures(a,b,c,d,e,f,g) (*reinterpret_cast<T3SQLProcedures>(getOdbcFunction(ODBC3SQLFunctionId::Procedures)))(a,b,c,d,e,f,g)
443 SQLUSMALLINT IdentifierType,
444 SQLCHAR * CatalogName,
445 SQLSMALLINT NameLength1,
446 SQLCHAR * SchemaName,
447 SQLSMALLINT NameLength2,
449 SQLSMALLINT NameLength3,
451 SQLUSMALLINT Nullable);
453 #define N3SQLSpecialColumns(a,b,c,d,e,f,g,h,i,j) (*reinterpret_cast<T3SQLSpecialColumns>(getOdbcFunction(ODBC3SQLFunctionId::SpecialColumns)))(a,b,c,d,e,f,g,h,i,j)
456 SQLCHAR * CatalogName,
457 SQLSMALLINT NameLength1,
458 SQLCHAR * SchemaName,
459 SQLSMALLINT NameLength2,
461 SQLSMALLINT NameLength3,
465 #define N3SQLStatistics(a,b,c,d,e,f,g,h,i) (*reinterpret_cast<T3SQLStatistics>(getOdbcFunction(ODBC3SQLFunctionId::Statistics)))(a,b,c,d,e,f,g,h,i)
468 SQLCHAR * CatalogName,
469 SQLSMALLINT NameLength1,
470 SQLCHAR * SchemaName,
471 SQLSMALLINT NameLength2,
473 SQLSMALLINT NameLength3);
475 #define N3SQLTablePrivileges(a,b,c,d,e,f,g) (*reinterpret_cast<T3SQLTablePrivileges>(getOdbcFunction(ODBC3SQLFunctionId::TablePrivileges)))(a,b,c,d,e,f,g)
477 typedef SQLRETURN (SQL_API *
T3SQLTables) ( SQLHSTMT StatementHandle,
478 SQLCHAR * CatalogName,
479 SQLSMALLINT NameLength1,
480 SQLCHAR * SchemaName,
481 SQLSMALLINT NameLength2,
483 SQLSMALLINT NameLength3,
485 SQLSMALLINT NameLength4);
487 #define N3SQLTables(a,b,c,d,e,f,g,h,i) (*reinterpret_cast<T3SQLTables>(getOdbcFunction(ODBC3SQLFunctionId::Tables)))(a,b,c,d,e,f,g,h,i)
491 SQLUSMALLINT Option);
493 #define N3SQLFreeStmt(a,b) (*reinterpret_cast<T3SQLFreeStmt>(getOdbcFunction(ODBC3SQLFunctionId::FreeStmt)))(a,b)
497 #define N3SQLCloseCursor(a) (*reinterpret_cast<T3SQLCloseCursor>(getOdbcFunction(ODBC3SQLFunctionId::CloseCursor)))(a)
499 typedef SQLRETURN (SQL_API *
T3SQLCancel) ( SQLHSTMT StatementHandle);
501 #define N3SQLCancel(a) (*reinterpret_cast<T3SQLCancel>(getOdbcFunction(ODBC3SQLFunctionId::Cancel)))(a)
505 SQLSMALLINT CompletionType);
507 #define N3SQLEndTran(a,b,c) (*reinterpret_cast<T3SQLEndTran>(getOdbcFunction(ODBC3SQLFunctionId::EndTran)))(a,b,c)
512 #define N3SQLDisconnect(a) (*reinterpret_cast<T3SQLDisconnect>(getOdbcFunction(ODBC3SQLFunctionId::Disconnect)))(a)
517 #define N3SQLFreeHandle(a,b) (*reinterpret_cast<T3SQLFreeHandle>(getOdbcFunction(ODBC3SQLFunctionId::FreeHandle)))(a,b)
520 SQLCHAR * CursorName,
521 SQLSMALLINT BufferLength,
522 SQLSMALLINT* NameLength2);
524 #define N3SQLGetCursorName(a,b,c,d) (*reinterpret_cast<T3SQLGetCursorName>(getOdbcFunction(ODBC3SQLFunctionId::GetCursorName)))(a,b,c,d)
527 SQLCHAR * InStatementText,
528 SQLINTEGER TextLength1,
529 SQLCHAR * OutStatementText,
530 SQLINTEGER BufferLength,
531 SQLINTEGER * TextLength2Ptr);
533 #define N3SQLNativeSql(a,b,c,d,e,f) (*reinterpret_cast<T3SQLNativeSql>(getOdbcFunction(ODBC3SQLFunctionId::NativeSql)))(a,b,c,d,e,f)
SQLRETURN(SQL_API * T3SQLTables)(SQLHSTMT StatementHandle, SQLCHAR *CatalogName, SQLSMALLINT NameLength1, SQLCHAR *SchemaName, SQLSMALLINT NameLength2, SQLCHAR *TableName, SQLSMALLINT NameLength3, SQLCHAR *TableType, SQLSMALLINT NameLength4)
T3SQLSetEnvAttr pODBC3SQLSetEnvAttr
T3SQLCloseCursor pODBC3SQLCloseCursor
T3SQLRowCount pODBC3SQLRowCount
T3SQLAllocHandle pODBC3SQLAllocHandle
SQLRETURN(SQL_API * T3SQLGetConnectAttr)(SQLHDBC ConnectionHandle, SQLINTEGER Attribute, SQLPOINTER ValuePtr, SQLINTEGER BufferLength, SQLINTEGER *StringLength)
SQLRETURN(SQL_API * T3SQLExecDirect)(SQLHSTMT StatementHandle, SQLCHAR *StatementText, SQLINTEGER TextLength)
SQLRETURN(SQL_API * T3SQLFetchScroll)(SQLHSTMT StatementHandle, SQLSMALLINT FetchOrientation, SQLLEN FetchOffset)
SQLRETURN(SQL_API * T3SQLPrepare)(SQLHSTMT StatementHandle, SQLCHAR *StatementText, SQLINTEGER TextLength)
T3SQLDescribeCol pODBC3SQLDescribeCol
SQLRETURN(SQL_API * T3SQLTablePrivileges)(SQLHSTMT StatementHandle, SQLCHAR *CatalogName, SQLSMALLINT NameLength1, SQLCHAR *SchemaName, SQLSMALLINT NameLength2, SQLCHAR *TableName, SQLSMALLINT NameLength3)
SQLRETURN(SQL_API * T3SQLAllocHandle)(SQLSMALLINT HandleType, SQLHANDLE InputHandle, SQLHANDLE *OutputHandlePtr)
T3SQLColumnPrivileges pODBC3SQLColumnPrivileges
T3SQLBulkOperations pODBC3SQLBulkOperations
T3SQLParamData pODBC3SQLParamData
T3SQLPrepare pODBC3SQLPrepare
T3SQLSetConnectAttr pODBC3SQLSetConnectAttr
SQLRETURN(SQL_API * T3SQLFetch)(SQLHSTMT StatementHandle)
SQLRETURN(SQL_API * T3SQLGetTypeInfo)(SQLHSTMT StatementHandle, SQLSMALLINT DataType)
SQLRETURN(SQL_API * T3SQLStatistics)(SQLHSTMT StatementHandle, SQLCHAR *CatalogName, SQLSMALLINT NameLength1, SQLCHAR *SchemaName, SQLSMALLINT NameLength2, SQLCHAR *TableName, SQLSMALLINT NameLength3, SQLUSMALLINT Unique, SQLUSMALLINT Reserved)
SQLRETURN(SQL_API * T3SQLSetEnvAttr)(SQLHENV EnvironmentHandle, SQLINTEGER Attribute, SQLPOINTER ValuePtr, SQLINTEGER StringLength)
SQLRETURN(SQL_API * T3SQLConnect)(SQLHDBC ConnectionHandle, SQLCHAR *ServerName, SQLSMALLINT NameLength1, SQLCHAR *UserName, SQLSMALLINT NameLength2, SQLCHAR *Authentication, SQLSMALLINT NameLength3)
SQLRETURN(SQL_API * T3SQLDescribeParam)(SQLHSTMT StatementHandle, SQLUSMALLINT ParameterNumber, SQLSMALLINT *DataTypePtr, SQLULEN *ParameterSizePtr, SQLSMALLINT *DecimalDigitsPtr, SQLSMALLINT *NullablePtr)
T3SQLExecDirect pODBC3SQLExecDirect
SQLRETURN(SQL_API * T3SQLProcedureColumns)(SQLHSTMT StatementHandle, SQLCHAR *CatalogName, SQLSMALLINT NameLength1, SQLCHAR *SchemaName, SQLSMALLINT NameLength2, SQLCHAR *ProcName, SQLSMALLINT NameLength3, SQLCHAR *ColumnName, SQLSMALLINT NameLength4)
SQLRETURN(SQL_API * T3SQLRowCount)(SQLHSTMT StatementHandle, SQLLEN *RowCountPtr)
SQLRETURN(SQL_API * T3SQLBrowseConnect)(SQLHDBC ConnectionHandle, SQLCHAR *InConnectionString, SQLSMALLINT StringLength1, SQLCHAR *OutConnectionString, SQLSMALLINT BufferLength, SQLSMALLINT *StringLength2Ptr)
T3SQLForeignKeys pODBC3SQLForeignKeys
SQLRETURN(SQL_API * T3SQLGetDiagRec)(SQLSMALLINT HandleType, SQLHANDLE Handle, SQLSMALLINT RecNumber, SQLCHAR *Sqlstate, SQLINTEGER *NativeErrorPtr, SQLCHAR *MessageText, SQLSMALLINT BufferLength, SQLSMALLINT *TextLengthPtr)
SQLRETURN(SQL_API * T3SQLProcedures)(SQLHSTMT StatementHandle, SQLCHAR *CatalogName, SQLSMALLINT NameLength1, SQLCHAR *SchemaName, SQLSMALLINT NameLength2, SQLCHAR *ProcName, SQLSMALLINT NameLength3)
T3SQLGetEnvAttr pODBC3SQLGetEnvAttr
T3SQLConnect pODBC3SQLConnect
T3SQLEndTran pODBC3SQLEndTran
SQLRETURN(SQL_API * T3SQLNativeSql)(SQLHDBC ConnectionHandle, SQLCHAR *InStatementText, SQLINTEGER TextLength1, SQLCHAR *OutStatementText, SQLINTEGER BufferLength, SQLINTEGER *TextLength2Ptr)
SQLRETURN(SQL_API * T3SQLGetData)(SQLHSTMT StatementHandle, SQLUSMALLINT ColumnNumber, SQLSMALLINT TargetType, SQLPOINTER TargetValuePtr, SQLLEN BufferLength, SQLLEN *StrLen_or_IndPtr)
SQLRETURN(SQL_API * T3SQLPrimaryKeys)(SQLHSTMT StatementHandle, SQLCHAR *CatalogName, SQLSMALLINT NameLength1, SQLCHAR *SchemaName, SQLSMALLINT NameLength2, SQLCHAR *TableName, SQLSMALLINT NameLength3)
SQLRETURN(SQL_API * T3SQLNumParams)(SQLHSTMT StatementHandle, SQLSMALLINT *ParameterCountPtr)
T3SQLSetStmtAttr pODBC3SQLSetStmtAttr
T3SQLColumns pODBC3SQLColumns
bool LoadLibrary_ODBC3(OUString &_rPath)
SQLRETURN(SQL_API * T3SQLDataSources)(SQLHENV EnvironmentHandle, SQLUSMALLINT Direction, SQLCHAR *ServerName, SQLSMALLINT BufferLength1, SQLSMALLINT *NameLength1Ptr, SQLCHAR *Description, SQLSMALLINT BufferLength2, SQLSMALLINT *NameLength2Ptr)
T3SQLPrimaryKeys pODBC3SQLPrimaryKeys
T3SQLGetFunctions pODBC3SQLGetFunctions
SQLRETURN(SQL_API * T3SQLDisconnect)(SQLHDBC ConnectionHandle)
SQLRETURN(SQL_API * T3SQLCancel)(SQLHSTMT StatementHandle)
SQLRETURN(SQL_API * T3SQLColumnPrivileges)(SQLHSTMT StatementHandle, SQLCHAR *CatalogName, SQLSMALLINT NameLength1, SQLCHAR *SchemaName, SQLSMALLINT NameLength2, SQLCHAR *TableName, SQLSMALLINT NameLength3, SQLCHAR *ColumnName, SQLSMALLINT NameLength4)
T3SQLNativeSql pODBC3SQLNativeSql
SQLRETURN(SQL_API * T3SQLBindCol)(SQLHSTMT StatementHandle, SQLUSMALLINT ColumnNumber, SQLSMALLINT TargetType, SQLPOINTER TargetValuePtr, SQLLEN BufferLength, SQLLEN *StrLen_or_IndPtr)
T3SQLProcedures pODBC3SQLProcedures
SQLRETURN(SQL_API * T3SQLColAttribute)(SQLHSTMT StatementHandle, SQLUSMALLINT ColumnNumber, SQLUSMALLINT FieldIdentifier, SQLPOINTER CharacterAttributePtr, SQLSMALLINT BufferLength, SQLSMALLINT *StringLengthPtr, SQLLEN *NumericAttributePtr)
T3SQLNumResultCols pODBC3SQLNumResultCols
SQLRETURN(SQL_API * T3SQLBulkOperations)(SQLHSTMT StatementHandle, SQLSMALLINT Operation)
T3SQLGetInfo pODBC3SQLGetInfo
SQLRETURN(SQL_API * T3SQLSetCursorName)(SQLHSTMT StatementHandle, SQLCHAR *CursorName, SQLSMALLINT NameLength)
T3SQLColAttribute pODBC3SQLColAttribute
SQLRETURN(SQL_API * T3SQLParamData)(SQLHSTMT StatementHandle, SQLPOINTER *ValuePtrPtr)
T3SQLNumParams pODBC3SQLNumParams
SQLRETURN(SQL_API * T3SQLSetPos)(SQLHSTMT StatementHandle, SQLSETPOSIROW RowNumber, SQLUSMALLINT Operation, SQLUSMALLINT LockType)
T3SQLBindCol pODBC3SQLBindCol
T3SQLPutData pODBC3SQLPutData
T3SQLBindParameter pODBC3SQLBindParameter
T3SQLStatistics pODBC3SQLStatistics
T3SQLMoreResults pODBC3SQLMoreResults
SQLRETURN(SQL_API * T3SQLDrivers)(SQLHENV EnvironmentHandle, SQLUSMALLINT Direction, SQLCHAR *DriverDescription, SQLSMALLINT BufferLength1, SQLSMALLINT *DescriptionLengthPtr, SQLCHAR *DriverAttributes, SQLSMALLINT BufferLength2, SQLSMALLINT *AttributesLengthPtr)
SQLRETURN(SQL_API * T3SQLCloseCursor)(SQLHSTMT StatementHandle)
T3SQLProcedureColumns pODBC3SQLProcedureColumns
SQLRETURN(SQL_API * T3SQLForeignKeys)(SQLHSTMT StatementHandle, SQLCHAR *PKCatalogName, SQLSMALLINT NameLength1, SQLCHAR *PKSchemaName, SQLSMALLINT NameLength2, SQLCHAR *PKTableName, SQLSMALLINT NameLength3, SQLCHAR *FKCatalogName, SQLSMALLINT NameLength4, SQLCHAR *FKSchemaName, SQLSMALLINT NameLength5, SQLCHAR *FKTableName, SQLSMALLINT NameLength6)
SQLRETURN(SQL_API * T3SQLExecute)(SQLHSTMT StatementHandle)
T3SQLCancel pODBC3SQLCancel
T3SQLSetPos pODBC3SQLSetPos
SQLRETURN(SQL_API * T3SQLGetEnvAttr)(SQLHENV EnvironmentHandle, SQLINTEGER Attribute, SQLPOINTER ValuePtr, SQLINTEGER BufferLength, SQLINTEGER *StringLength)
T3SQLFetch pODBC3SQLFetch
T3SQLExecute pODBC3SQLExecute
SQLRETURN(SQL_API * T3SQLEndTran)(SQLSMALLINT HandleType, SQLHANDLE Handle, SQLSMALLINT CompletionType)
T3SQLFreeStmt pODBC3SQLFreeStmt
T3SQLBrowseConnect pODBC3SQLBrowseConnect
T3SQLGetDiagRec pODBC3SQLGetDiagRec
SQLRETURN(SQL_API * T3SQLFreeHandle)(SQLSMALLINT HandleType, SQLHANDLE Handle)
SQLRETURN(SQL_API * T3SQLBindParameter)(SQLHSTMT StatementHandle, SQLUSMALLINT ParameterNumber, SQLSMALLINT InputOutputType, SQLSMALLINT ValueType, SQLSMALLINT ParameterType, SQLULEN ColumnSize, SQLSMALLINT DecimalDigits, SQLPOINTER ParameterValuePtr, SQLLEN BufferLength, SQLLEN *StrLen_or_IndPtr)
T3SQLGetConnectAttr pODBC3SQLGetConnectAttr
SQLRETURN(SQL_API * T3SQLSpecialColumns)(SQLHSTMT StatementHandle, SQLUSMALLINT IdentifierType, SQLCHAR *CatalogName, SQLSMALLINT NameLength1, SQLCHAR *SchemaName, SQLSMALLINT NameLength2, SQLCHAR *TableName, SQLSMALLINT NameLength3, SQLUSMALLINT Scope, SQLUSMALLINT Nullable)
T3SQLDescribeParam pODBC3SQLDescribeParam
T3SQLGetCursorName pODBC3SQLGetCursorName
SQLRETURN(SQL_API * T3SQLGetInfo)(SQLHDBC ConnectionHandle, SQLUSMALLINT InfoType, SQLPOINTER InfoValuePtr, SQLSMALLINT BufferLength, SQLSMALLINT *StringLengthPtr)
SQLRETURN(SQL_API * T3SQLColumns)(SQLHSTMT StatementHandle, SQLCHAR *CatalogName, SQLSMALLINT NameLength1, SQLCHAR *SchemaName, SQLSMALLINT NameLength2, SQLCHAR *TableName, SQLSMALLINT NameLength3, SQLCHAR *ColumnName, SQLSMALLINT NameLength4)
SQLRETURN(SQL_API * T3SQLDescribeCol)(SQLHSTMT StatementHandle, SQLUSMALLINT ColumnNumber, SQLCHAR *ColumnName, SQLSMALLINT BufferLength, SQLSMALLINT *NameLengthPtr, SQLSMALLINT *DataTypePtr, SQLULEN *ColumnSizePtr, SQLSMALLINT *DecimalDigitsPtr, SQLSMALLINT *NullablePtr)
SQLRETURN(SQL_API * T3SQLFreeStmt)(SQLHSTMT StatementHandle, SQLUSMALLINT Option)
T3SQLSpecialColumns pODBC3SQLSpecialColumns
T3SQLFreeHandle pODBC3SQLFreeHandle
T3SQLSetCursorName pODBC3SQLSetCursorName
T3SQLGetStmtAttr pODBC3SQLGetStmtAttr
T3SQLGetData pODBC3SQLGetData
SQLRETURN(SQL_API * T3SQLSetConnectAttr)(SQLHDBC ConnectionHandle, SQLINTEGER Attribute, SQLPOINTER ValuePtr, SQLINTEGER StringLength)
T3SQLDisconnect pODBC3SQLDisconnect
T3SQLDriverConnect pODBC3SQLDriverConnect
T3SQLTablePrivileges pODBC3SQLTablePrivileges
SQLRETURN(SQL_API * T3SQLDriverConnect)(SQLHDBC ConnectionHandle, HWND WindowHandle, SQLCHAR *InConnectionString, SQLSMALLINT StringLength1, SQLCHAR *OutConnectionString, SQLSMALLINT BufferLength, SQLSMALLINT *StringLength2Ptr, SQLUSMALLINT DriverCompletion)
T3SQLGetTypeInfo pODBC3SQLGetTypeInfo
SQLRETURN(SQL_API * T3SQLGetFunctions)(SQLHDBC ConnectionHandle, SQLUSMALLINT FunctionId, SQLUSMALLINT *SupportedPtr)
SQLRETURN(SQL_API * T3SQLPutData)(SQLHSTMT StatementHandle, SQLPOINTER DataPtr, SQLLEN StrLen_or_Ind)
SQLRETURN(SQL_API * T3SQLNumResultCols)(SQLHSTMT StatementHandle, SQLSMALLINT *ColumnCountPtr)
T3SQLFetchScroll pODBC3SQLFetchScroll
T3SQLDataSources pODBC3SQLDataSources
SQLRETURN(SQL_API * T3SQLGetCursorName)(SQLHSTMT StatementHandle, SQLCHAR *CursorName, SQLSMALLINT BufferLength, SQLSMALLINT *NameLength2)
SQLRETURN(SQL_API * T3SQLSetStmtAttr)(SQLHSTMT StatementHandle, SQLINTEGER Attribute, SQLPOINTER ValuePtr, SQLINTEGER StringLength)
T3SQLTables pODBC3SQLTables
SQLRETURN(SQL_API * T3SQLMoreResults)(SQLHSTMT StatementHandle)
T3SQLDrivers pODBC3SQLDrivers
SQLRETURN(SQL_API * T3SQLGetStmtAttr)(SQLHSTMT StatementHandle, SQLINTEGER Attribute, SQLPOINTER ValuePtr, SQLINTEGER BufferLength, SQLINTEGER *StringLength)
std::vector< std::unique_ptr< CellValues > > TableType