File indexing completed on 2025-01-17 09:55:53
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014 typedef struct odbcStubDefs {
0015 SQLRETURN (SQL_API*SQLAllocHandlePtr)(SQLSMALLINT,SQLHANDLE,SQLHANDLE*);
0016 SQLRETURN (SQL_API*SQLBindParameterPtr)(SQLHSTMT,SQLUSMALLINT,SQLSMALLINT,SQLSMALLINT,SQLSMALLINT,SQLULEN,SQLSMALLINT,SQLPOINTER,SQLLEN,SQLLEN*);
0017 SQLRETURN (SQL_API*SQLCloseCursorPtr)(SQLHSTMT);
0018 SQLRETURN (SQL_API*SQLColumnsWPtr)(SQLHSTMT,SQLWCHAR*,SQLSMALLINT,SQLWCHAR*,SQLSMALLINT,SQLWCHAR*,SQLSMALLINT ,SQLWCHAR*,SQLSMALLINT );
0019 SQLRETURN (SQL_API*SQLDataSourcesWPtr)(SQLHENV,SQLUSMALLINT,SQLWCHAR*,SQLSMALLINT,SQLSMALLINT*,SQLWCHAR*,SQLSMALLINT,SQLSMALLINT*);
0020 SQLRETURN (SQL_API*SQLDescribeColWPtr)(SQLHSTMT,SQLUSMALLINT,SQLWCHAR*,SQLSMALLINT,SQLSMALLINT*,SQLSMALLINT*,SQLULEN*,SQLSMALLINT*,SQLSMALLINT*);
0021 SQLRETURN (SQL_API*SQLDescribeParamPtr)(SQLHSTMT,SQLUSMALLINT,SQLSMALLINT*,SQLULEN*,SQLSMALLINT*,SQLSMALLINT*);
0022 SQLRETURN (SQL_API*SQLDisconnectPtr)(SQLHDBC);
0023 SQLRETURN (SQL_API*SQLDriverConnectWPtr)(SQLHDBC,SQLHWND,SQLWCHAR*,SQLSMALLINT,SQLWCHAR*,SQLSMALLINT,SQLSMALLINT*,SQLUSMALLINT);
0024 SQLRETURN (SQL_API*SQLDriversWPtr)(SQLHENV,SQLUSMALLINT,SQLWCHAR*,SQLSMALLINT,SQLSMALLINT*,SQLWCHAR*,SQLSMALLINT,SQLSMALLINT*);
0025 SQLRETURN (SQL_API*SQLEndTranPtr)(SQLSMALLINT,SQLHANDLE,SQLSMALLINT);
0026 SQLRETURN (SQL_API*SQLExecutePtr)(SQLHSTMT);
0027 SQLRETURN (SQL_API*SQLFetchPtr)(SQLHSTMT);
0028 SQLRETURN (SQL_API*SQLForeignKeysWPtr)(SQLHSTMT,SQLWCHAR*,SQLSMALLINT,SQLWCHAR*,SQLSMALLINT,SQLWCHAR*,SQLSMALLINT,SQLWCHAR*,SQLSMALLINT,SQLWCHAR*,SQLSMALLINT,SQLWCHAR*,SQLSMALLINT);
0029 SQLRETURN (SQL_API*SQLFreeHandlePtr)(SQLSMALLINT,SQLHANDLE);
0030 SQLRETURN (SQL_API*SQLGetConnectAttrPtr)(SQLHDBC,SQLINTEGER,SQLPOINTER,SQLINTEGER,SQLINTEGER*);
0031 SQLRETURN (SQL_API*SQLGetDataPtr)(SQLHSTMT,SQLUSMALLINT,SQLSMALLINT,SQLPOINTER,SQLLEN,SQLLEN*);
0032 SQLRETURN (SQL_API*SQLGetDiagFieldAPtr)(SQLSMALLINT,SQLHANDLE,SQLSMALLINT,SQLSMALLINT,SQLPOINTER,SQLSMALLINT,SQLSMALLINT*);
0033 SQLRETURN (SQL_API*SQLGetDiagRecWPtr)(SQLSMALLINT,SQLHANDLE,SQLSMALLINT,SQLWCHAR*,SQLINTEGER*,SQLWCHAR*,SQLSMALLINT,SQLSMALLINT*);
0034 SQLRETURN (SQL_API*SQLGetInfoWPtr)(SQLHANDLE,SQLUSMALLINT,SQLPOINTER,SQLSMALLINT,SQLSMALLINT*);
0035 SQLRETURN (SQL_API*SQLGetTypeInfoPtr)(SQLHSTMT,SQLSMALLINT);
0036 SQLRETURN (SQL_API*SQLMoreResultsPtr)(SQLHSTMT);
0037 SQLRETURN (SQL_API*SQLNumParamsPtr)(SQLHSTMT,SQLSMALLINT*);
0038 SQLRETURN (SQL_API*SQLNumResultColsPtr)(SQLHSTMT,SQLSMALLINT*);
0039 SQLRETURN (SQL_API*SQLPrepareWPtr)(SQLHSTMT,SQLWCHAR*,SQLINTEGER);
0040 SQLRETURN (SQL_API*SQLPrimaryKeysWPtr)(SQLHSTMT,SQLWCHAR*,SQLSMALLINT,SQLWCHAR*,SQLSMALLINT,SQLWCHAR*,SQLSMALLINT);
0041 SQLRETURN (SQL_API*SQLRowCountPtr)(SQLHSTMT,SQLLEN*);
0042 SQLRETURN (SQL_API*SQLSetConnectAttrPtr)(SQLHDBC,SQLINTEGER,SQLPOINTER,SQLINTEGER);
0043 SQLRETURN (SQL_API*SQLSetConnectOptionPtr)(SQLHDBC,SQLUSMALLINT,SQLULEN);
0044 SQLRETURN (SQL_API*SQLSetEnvAttrPtr)(SQLHENV,SQLINTEGER,SQLPOINTER,SQLINTEGER);
0045 SQLRETURN (SQL_API*SQLTablesWPtr)(SQLHSTMT,SQLWCHAR*,SQLSMALLINT,SQLWCHAR*,SQLSMALLINT,SQLWCHAR*,SQLSMALLINT,SQLWCHAR*,SQLSMALLINT);
0046 } odbcStubDefs;
0047 #define SQLAllocHandle (odbcStubs->SQLAllocHandlePtr)
0048 #define SQLBindParameter (odbcStubs->SQLBindParameterPtr)
0049 #define SQLCloseCursor (odbcStubs->SQLCloseCursorPtr)
0050 #define SQLColumnsW (odbcStubs->SQLColumnsWPtr)
0051 #define SQLDataSourcesW (odbcStubs->SQLDataSourcesWPtr)
0052 #define SQLDescribeColW (odbcStubs->SQLDescribeColWPtr)
0053 #define SQLDescribeParam (odbcStubs->SQLDescribeParamPtr)
0054 #define SQLDisconnect (odbcStubs->SQLDisconnectPtr)
0055 #define SQLDriverConnectW (odbcStubs->SQLDriverConnectWPtr)
0056 #define SQLDriversW (odbcStubs->SQLDriversWPtr)
0057 #define SQLEndTran (odbcStubs->SQLEndTranPtr)
0058 #define SQLExecute (odbcStubs->SQLExecutePtr)
0059 #define SQLFetch (odbcStubs->SQLFetchPtr)
0060 #define SQLForeignKeysW (odbcStubs->SQLForeignKeysWPtr)
0061 #define SQLFreeHandle (odbcStubs->SQLFreeHandlePtr)
0062 #define SQLGetConnectAttr (odbcStubs->SQLGetConnectAttrPtr)
0063 #define SQLGetData (odbcStubs->SQLGetDataPtr)
0064 #define SQLGetDiagFieldA (odbcStubs->SQLGetDiagFieldAPtr)
0065 #define SQLGetDiagRecW (odbcStubs->SQLGetDiagRecWPtr)
0066 #define SQLGetInfoW (odbcStubs->SQLGetInfoWPtr)
0067 #define SQLGetTypeInfo (odbcStubs->SQLGetTypeInfoPtr)
0068 #define SQLMoreResults (odbcStubs->SQLMoreResultsPtr)
0069 #define SQLNumParams (odbcStubs->SQLNumParamsPtr)
0070 #define SQLNumResultCols (odbcStubs->SQLNumResultColsPtr)
0071 #define SQLPrepareW (odbcStubs->SQLPrepareWPtr)
0072 #define SQLPrimaryKeysW (odbcStubs->SQLPrimaryKeysWPtr)
0073 #define SQLRowCount (odbcStubs->SQLRowCountPtr)
0074 #define SQLSetConnectAttr (odbcStubs->SQLSetConnectAttrPtr)
0075 #define SQLSetConnectOption (odbcStubs->SQLSetConnectOptionPtr)
0076 #define SQLSetEnvAttr (odbcStubs->SQLSetEnvAttrPtr)
0077 #define SQLTablesW (odbcStubs->SQLTablesWPtr)
0078 MODULE_SCOPE const odbcStubDefs *odbcStubs;