1 #ifndef _WX_DATABASE_ODBC_INTERFACES_H_ 2 #define _WX_DATABASE_ODBC_INTERFACES_H_ 9 typedef SQLRETURN (SQL_API *
SQLSetEnvAttrType)(SQLHENV, SQLINTEGER, SQLPOINTER, SQLINTEGER);
12 SQLTCHAR*, SQLSMALLINT, SQLTCHAR*, SQLSMALLINT);
14 SQLSMALLINT, SQLTCHAR*, SQLSMALLINT, SQLSMALLINT*, SQLUSMALLINT);
17 typedef SQLRETURN (SQL_API *
SQLEndTranType)(SQLSMALLINT, SQLHANDLE, SQLSMALLINT);
18 typedef SQLRETURN (SQL_API *
SQLPrepareType)(SQLHSTMT, SQLTCHAR*, SQLINTEGER);
20 typedef SQLRETURN (SQL_API *
SQLTablesType)(SQLHSTMT, SQLTCHAR*, SQLSMALLINT, SQLTCHAR*,
21 SQLSMALLINT, SQLTCHAR*, SQLSMALLINT, SQLTCHAR*, SQLSMALLINT);
23 typedef SQLRETURN (SQL_API *
SQLGetDataType)(SQLHSTMT, SQLUSMALLINT, SQLSMALLINT,
24 SQLPOINTER, SQLLEN, SQLLEN*);
25 typedef SQLRETURN (SQL_API *
SQLColumnsType)(SQLHSTMT, SQLTCHAR*, SQLSMALLINT, SQLTCHAR*,
26 SQLSMALLINT, SQLTCHAR*, SQLSMALLINT, SQLTCHAR*, SQLSMALLINT);
27 typedef SQLRETURN (SQL_API *
SQLGetDiagRecType)(SQLSMALLINT, SQLHANDLE, SQLSMALLINT, SQLTCHAR*,
28 SQLINTEGER*, SQLTCHAR*, SQLSMALLINT, SQLSMALLINT*);
36 SQLULEN*, SQLSMALLINT*, SQLSMALLINT*);
38 SQLSMALLINT, SQLSMALLINT, SQLULEN, SQLSMALLINT, SQLPOINTER, SQLLEN, SQLLEN*);
40 SQLPOINTER, SQLSMALLINT, SQLSMALLINT*, SQLLEN*);
42 SQLPOINTER, SQLSMALLINT, SQLSMALLINT*, SQLPOINTER);
44 SQLSMALLINT*, SQLSMALLINT*, SQLULEN*, SQLSMALLINT*, SQLSMALLINT*);
113 #endif//_WX_DATABASE_ODBC_INTERFACES_H_ SQLColumnsType GetSQLColumns()
SQLDescribeParamType m_pSQLDescribeParam
SQLFreeStmtType GetSQLFreeStmt()
SQLExecuteType m_pSQLExecute
SQLDescribeColType m_pSQLDescribeCol
SQLRETURN(SQL_API * SQLConnectType)(SQLHDBC, SQLTCHAR *, SQLSMALLINT, SQLTCHAR *, SQLSMALLINT, SQLTCHAR *, SQLSMALLINT)
SQLDescribeColType GetSQLDescribeCol()
SQLBindParameterType m_pSQLBindParameter
SQLGetDataType m_pSQLGetData
SQLSetEnvAttrType m_pSQLSetEnvAttr
SQLAllocHandleType GetSQLAllocHandle()
SQLRowCountType GetSQLRowCount()
SQLNumResultColsType GetSQLNumResultCols()
SQLRETURN(SQL_API * SQLColAttributesType)(SQLHSTMT, SQLUSMALLINT, SQLUSMALLINT, SQLPOINTER, SQLSMALLINT, SQLSMALLINT *, SQLLEN *)
SQLFreeStmtType m_pSQLFreeStmt
SQLRETURN(SQL_API * SQLGetDataType)(SQLHSTMT, SQLUSMALLINT, SQLSMALLINT, SQLPOINTER, SQLLEN, SQLLEN *)
SQLNumParamsType m_pSQLNumParams
SQLRETURN(SQL_API * SQLNumResultColsType)(SQLHSTMT, SQLSMALLINT *)
SQLRETURN(SQL_API * SQLTablesType)(SQLHSTMT, SQLTCHAR *, SQLSMALLINT, SQLTCHAR *, SQLSMALLINT, SQLTCHAR *, SQLSMALLINT, SQLTCHAR *, SQLSMALLINT)
SQLRETURN(SQL_API * SQLPrepareType)(SQLHSTMT, SQLTCHAR *, SQLINTEGER)
SQLRETURN(SQL_API * SQLDisconnectType)(SQLHDBC)
SQLConnectType GetSQLConnect()
SQLRETURN(SQL_API * SQLEndTranType)(SQLSMALLINT, SQLHANDLE, SQLSMALLINT)
SQLDisconnectType m_pSQLDisconnect
SQLColumnsType GetSQLPKColumns()
SQLSetConnectAttrType m_pSQLSetConnectAttr
SQLDisconnectType GetSQLDisconnect()
SQLBindParameterType GetSQLBindParameter()
SQLColumnsType m_pSQLPKColumns
SQLColAttributeType GetSQLColAttribute()
SQLRETURN(SQL_API * SQLFreeStmtType)(SQLHSTMT, SQLUSMALLINT)
SQLSetEnvAttrType GetSQLSetEnvAttr()
SQLPutDataType m_pSQLPutData
SQLDescribeParamType GetSQLDescribeParam()
SQLTablesType m_pSQLTables
SQLTablesType GetSQLTables()
SQLRETURN(SQL_API * SQLDescribeParamType)(SQLHSTMT, SQLUSMALLINT, SQLSMALLINT *, SQLULEN *, SQLSMALLINT *, SQLSMALLINT *)
SQLConnectType m_pSQLConnect
SQLRETURN(SQL_API * SQLExecuteType)(SQLHSTMT)
SQLRETURN(SQL_API * SQLRowCountType)(SQLHSTMT, SQLLEN *)
SQLRETURN(SQL_API * SQLFreeHandleType)(SQLSMALLINT, SQLHANDLE)
SQLGetDiagRecType m_pSQLGetDiagRec
SQLRETURN(SQL_API * SQLDescribeColType)(SQLHSTMT, SQLUSMALLINT, SQLTCHAR *, SQLSMALLINT, SQLSMALLINT *, SQLSMALLINT *, SQLULEN *, SQLSMALLINT *, SQLSMALLINT *)
SQLRETURN(SQL_API * SQLPutDataType)(SQLHSTMT, SQLPOINTER, SQLLEN)
SQLColAttributesType GetSQLColAttributes()
SQLPrepareType GetSQLPrepare()
SQLColumnsType m_pSQLColumns
SQLExecuteType GetSQLExecute()
SQLEndTranType GetSQLEndTran()
SQLRETURN(SQL_API * SQLGetDiagRecType)(SQLSMALLINT, SQLHANDLE, SQLSMALLINT, SQLTCHAR *, SQLINTEGER *, SQLTCHAR *, SQLSMALLINT, SQLSMALLINT *)
SQLColAttributesType m_pSQLColAttributes
SQLRETURN(SQL_API * SQLColAttributeType)(SQLHSTMT, SQLUSMALLINT, SQLUSMALLINT, SQLPOINTER, SQLSMALLINT, SQLSMALLINT *, SQLPOINTER)
SQLDriverConnectType GetSQLDriverConnect()
SQLSetConnectAttrType GetSQLSetConnectAttr()
SQLPutDataType GetSQLPutData()
SQLParamDataType m_pSQLParamData
SQLRETURN(SQL_API * SQLNumParamsType)(SQLHSTMT, SQLSMALLINT *)
SQLAllocHandleType m_pSQLAllocHandle
wxDynamicLibrary m_OdbcDLL
SQLNumParamsType GetSQLNumParams()
SQLFetchType GetSQLFetch()
SQLRETURN(SQL_API * SQLAllocHandleType)(SQLSMALLINT, SQLHANDLE, SQLHANDLE *)
SQLGetDiagRecType GetSQLGetDiagRec()
SQLRETURN(SQL_API * SQLFetchType)(SQLHSTMT)
SQLParamDataType GetSQLParamData()
SQLGetDataType GetSQLGetData()
SQLRETURN(SQL_API * SQLSetEnvAttrType)(SQLHENV, SQLINTEGER, SQLPOINTER, SQLINTEGER)
SQLRETURN(SQL_API * SQLColumnsType)(SQLHSTMT, SQLTCHAR *, SQLSMALLINT, SQLTCHAR *, SQLSMALLINT, SQLTCHAR *, SQLSMALLINT, SQLTCHAR *, SQLSMALLINT)
SQLColAttributeType m_pSQLColAttribute
SQLFreeHandleType m_pSQLFreeHandle
SQLPrepareType m_pSQLPrepare
SQLRETURN(SQL_API * SQLParamDataType)(SQLHSTMT, SQLPOINTER *)
SQLRETURN(SQL_API * SQLBindParameterType)(SQLHSTMT, SQLUSMALLINT, SQLSMALLINT, SQLSMALLINT, SQLSMALLINT, SQLULEN, SQLSMALLINT, SQLPOINTER, SQLLEN, SQLLEN *)
SQLRowCountType m_pSQLRowCount
SQLRETURN(SQL_API * SQLDriverConnectType)(SQLHDBC, SQLHWND, SQLTCHAR *, SQLSMALLINT, SQLTCHAR *, SQLSMALLINT, SQLSMALLINT *, SQLUSMALLINT)
SQLEndTranType m_pSQLEndTran
SQLDriverConnectType m_pSQLDriverConnect
SQLRETURN(SQL_API * SQLSetConnectAttrType)(SQLHDBC, SQLINTEGER, SQLPOINTER, SQLINTEGER)
SQLNumResultColsType m_pSQLNumResultCols
SQLFreeHandleType GetSQLFreeHandle()