source: Daodan/MSYS2/mingw32/i686-w64-mingw32/include/sqlucode.h@ 1166

Last change on this file since 1166 was 1166, checked in by rossy, 3 years ago

Daodan: Replace MinGW build env with an up-to-date MSYS2 env

File size: 15.6 KB
Line 
1/**
2 * This file has no copyright assigned and is placed in the Public Domain.
3 * This file is part of the mingw-w64 runtime package.
4 * No warranty is given; refer to the file DISCLAIMER.PD within this package.
5 */
6#ifndef __SQLUCODE
7#define __SQLUCODE
8
9#ifdef __cplusplus
10extern "C" {
11#endif
12
13#include <sqlext.h>
14
15#define SQL_WCHAR (-8)
16#define SQL_WVARCHAR (-9)
17#define SQL_WLONGVARCHAR (-10)
18#define SQL_C_WCHAR SQL_WCHAR
19
20#if defined(UNICODE)
21#define SQL_C_TCHAR SQL_C_WCHAR
22#else
23#define SQL_C_TCHAR SQL_C_CHAR
24#endif
25
26#define SQL_SQLSTATE_SIZEW 10
27
28#ifndef RC_INVOKED
29#ifdef _WIN64
30 SQLRETURN SQL_API SQLColAttributeW(SQLHSTMT hstmt,SQLUSMALLINT iCol,SQLUSMALLINT iField,SQLPOINTER pCharAttr,SQLSMALLINT cbCharAttrMax,SQLSMALLINT *pcbCharAttr,SQLLEN *pNumAttr);
31#else
32 SQLRETURN SQL_API SQLColAttributeW(SQLHSTMT hstmt,SQLUSMALLINT iCol,SQLUSMALLINT iField,SQLPOINTER pCharAttr,SQLSMALLINT cbCharAttrMax,SQLSMALLINT *pcbCharAttr,SQLPOINTER pNumAttr);
33#endif
34 SQLRETURN SQL_API SQLColAttributesW(SQLHSTMT hstmt,SQLUSMALLINT icol,SQLUSMALLINT fDescType,SQLPOINTER rgbDesc,SQLSMALLINT cbDescMax,SQLSMALLINT *pcbDesc,SQLLEN *pfDesc);
35 SQLRETURN SQL_API SQLConnectW(SQLHDBC hdbc,SQLWCHAR *szDSN,SQLSMALLINT cbDSN,SQLWCHAR *szUID,SQLSMALLINT cbUID,SQLWCHAR *szAuthStr,SQLSMALLINT cbAuthStr);
36 SQLRETURN SQL_API SQLDescribeColW(SQLHSTMT hstmt,SQLUSMALLINT icol,SQLWCHAR *szColName,SQLSMALLINT cbColNameMax,SQLSMALLINT *pcbColName,SQLSMALLINT *pfSqlType,SQLULEN *pcbColDef,SQLSMALLINT *pibScale,SQLSMALLINT *pfNullable);
37 SQLRETURN SQL_API SQLErrorW(SQLHENV henv,SQLHDBC hdbc,SQLHSTMT hstmt,SQLWCHAR *szSqlState,SQLINTEGER *pfNativeError,SQLWCHAR *szErrorMsg,SQLSMALLINT cbErrorMsgMax,SQLSMALLINT *pcbErrorMsg);
38 SQLRETURN SQL_API SQLExecDirectW(SQLHSTMT hstmt,SQLWCHAR *szSqlStr,SQLINTEGER cbSqlStr);
39 SQLRETURN SQL_API SQLGetConnectAttrW(SQLHDBC hdbc,SQLINTEGER fAttribute,SQLPOINTER rgbValue,SQLINTEGER cbValueMax,SQLINTEGER *pcbValue);
40 SQLRETURN SQL_API SQLGetCursorNameW(SQLHSTMT hstmt,SQLWCHAR *szCursor,SQLSMALLINT cbCursorMax,SQLSMALLINT *pcbCursor);
41#if (ODBCVER >= 0x0300)
42 SQLRETURN SQL_API SQLSetDescFieldW(SQLHDESC DescriptorHandle,SQLSMALLINT RecNumber,SQLSMALLINT FieldIdentifier,SQLPOINTER Value,SQLINTEGER BufferLength);
43 SQLRETURN SQL_API SQLGetDescFieldW(SQLHDESC hdesc,SQLSMALLINT iRecord,SQLSMALLINT iField,SQLPOINTER rgbValue,SQLINTEGER cbValueMax,SQLINTEGER *pcbValue);
44 SQLRETURN SQL_API SQLGetDescRecW(SQLHDESC hdesc,SQLSMALLINT iRecord,SQLWCHAR *szName,SQLSMALLINT cbNameMax,SQLSMALLINT *pcbName,SQLSMALLINT *pfType,SQLSMALLINT *pfSubType,SQLLEN *pLength,SQLSMALLINT *pPrecision,SQLSMALLINT *pScale,SQLSMALLINT *pNullable);
45 SQLRETURN SQL_API SQLGetDiagFieldW(SQLSMALLINT fHandleType,SQLHANDLE handle,SQLSMALLINT iRecord,SQLSMALLINT fDiagField,SQLPOINTER rgbDiagInfo,SQLSMALLINT cbDiagInfoMax,SQLSMALLINT *pcbDiagInfo);
46 SQLRETURN SQL_API SQLGetDiagRecW(SQLSMALLINT fHandleType,SQLHANDLE handle,SQLSMALLINT iRecord,SQLWCHAR *szSqlState,SQLINTEGER *pfNativeError,SQLWCHAR *szErrorMsg,SQLSMALLINT cbErrorMsgMax,SQLSMALLINT *pcbErrorMsg);
47#endif
48 SQLRETURN SQL_API SQLPrepareW(SQLHSTMT hstmt,SQLWCHAR *szSqlStr,SQLINTEGER cbSqlStr);
49 SQLRETURN SQL_API SQLSetConnectAttrW(SQLHDBC hdbc,SQLINTEGER fAttribute,SQLPOINTER rgbValue,SQLINTEGER cbValue);
50 SQLRETURN SQL_API SQLSetCursorNameW(SQLHSTMT hstmt,SQLWCHAR *szCursor,SQLSMALLINT cbCursor);
51 SQLRETURN SQL_API SQLColumnsW(SQLHSTMT hstmt,SQLWCHAR *szCatalogName,SQLSMALLINT cbCatalogName,SQLWCHAR *szSchemaName,SQLSMALLINT cbSchemaName,SQLWCHAR *szTableName,SQLSMALLINT cbTableName,SQLWCHAR *szColumnName,SQLSMALLINT cbColumnName);
52 SQLRETURN SQL_API SQLGetConnectOptionW(SQLHDBC hdbc,SQLUSMALLINT fOption,SQLPOINTER pvParam);
53 SQLRETURN SQL_API SQLGetInfoW(SQLHDBC hdbc,SQLUSMALLINT fInfoType,SQLPOINTER rgbInfoValue,SQLSMALLINT cbInfoValueMax,SQLSMALLINT *pcbInfoValue);
54 SQLRETURN SQL_API SQLGetTypeInfoW(SQLHSTMT StatementHandle,SQLSMALLINT DataType);
55 SQLRETURN SQL_API SQLSetConnectOptionW(SQLHDBC hdbc,SQLUSMALLINT fOption,SQLULEN vParam);
56 SQLRETURN SQL_API SQLSpecialColumnsW(SQLHSTMT hstmt,SQLUSMALLINT fColType,SQLWCHAR *szCatalogName,SQLSMALLINT cbCatalogName,SQLWCHAR *szSchemaName,SQLSMALLINT cbSchemaName,SQLWCHAR *szTableName,SQLSMALLINT cbTableName,SQLUSMALLINT fScope,SQLUSMALLINT fNullable);
57 SQLRETURN SQL_API SQLStatisticsW(SQLHSTMT hstmt,SQLWCHAR *szCatalogName,SQLSMALLINT cbCatalogName,SQLWCHAR *szSchemaName,SQLSMALLINT cbSchemaName,SQLWCHAR *szTableName,SQLSMALLINT cbTableName,SQLUSMALLINT fUnique,SQLUSMALLINT fAccuracy);
58 SQLRETURN SQL_API SQLTablesW(SQLHSTMT hstmt,SQLWCHAR *szCatalogName,SQLSMALLINT cbCatalogName,SQLWCHAR *szSchemaName,SQLSMALLINT cbSchemaName,SQLWCHAR *szTableName,SQLSMALLINT cbTableName,SQLWCHAR *szTableType,SQLSMALLINT cbTableType);
59 SQLRETURN SQL_API SQLDataSourcesW(SQLHENV henv,SQLUSMALLINT fDirection,SQLWCHAR *szDSN,SQLSMALLINT cbDSNMax,SQLSMALLINT *pcbDSN,SQLWCHAR *szDescription,SQLSMALLINT cbDescriptionMax,SQLSMALLINT *pcbDescription);
60 SQLRETURN SQL_API SQLDriverConnectW(SQLHDBC hdbc,SQLHWND hwnd,SQLWCHAR *szConnStrIn,SQLSMALLINT cbConnStrIn,SQLWCHAR *szConnStrOut,SQLSMALLINT cbConnStrOutMax,SQLSMALLINT *pcbConnStrOut,SQLUSMALLINT fDriverCompletion);
61 SQLRETURN SQL_API SQLBrowseConnectW(SQLHDBC hdbc,SQLWCHAR *szConnStrIn,SQLSMALLINT cbConnStrIn,SQLWCHAR *szConnStrOut,SQLSMALLINT cbConnStrOutMax,SQLSMALLINT *pcbConnStrOut);
62 SQLRETURN SQL_API SQLColumnPrivilegesW(SQLHSTMT hstmt,SQLWCHAR *szCatalogName,SQLSMALLINT cbCatalogName,SQLWCHAR *szSchemaName,SQLSMALLINT cbSchemaName,SQLWCHAR *szTableName,SQLSMALLINT cbTableName,SQLWCHAR *szColumnName,SQLSMALLINT cbColumnName);
63 SQLRETURN SQL_API SQLGetStmtAttrW(SQLHSTMT hstmt,SQLINTEGER fAttribute,SQLPOINTER rgbValue,SQLINTEGER cbValueMax,SQLINTEGER *pcbValue);
64 SQLRETURN SQL_API SQLSetStmtAttrW(SQLHSTMT hstmt,SQLINTEGER fAttribute,SQLPOINTER rgbValue,SQLINTEGER cbValueMax);
65 SQLRETURN SQL_API SQLForeignKeysW(SQLHSTMT hstmt,SQLWCHAR *szPkCatalogName,SQLSMALLINT cbPkCatalogName,SQLWCHAR *szPkSchemaName,SQLSMALLINT cbPkSchemaName,SQLWCHAR *szPkTableName,SQLSMALLINT cbPkTableName,SQLWCHAR *szFkCatalogName,SQLSMALLINT cbFkCatalogName,SQLWCHAR *szFkSchemaName,SQLSMALLINT cbFkSchemaName,SQLWCHAR *szFkTableName,SQLSMALLINT cbFkTableName);
66 SQLRETURN SQL_API SQLNativeSqlW(SQLHDBC hdbc,SQLWCHAR *szSqlStrIn,SQLINTEGER cbSqlStrIn,SQLWCHAR *szSqlStr,SQLINTEGER cbSqlStrMax,SQLINTEGER *pcbSqlStr);
67 SQLRETURN SQL_API SQLPrimaryKeysW(SQLHSTMT hstmt,SQLWCHAR *szCatalogName,SQLSMALLINT cbCatalogName,SQLWCHAR *szSchemaName,SQLSMALLINT cbSchemaName,SQLWCHAR *szTableName,SQLSMALLINT cbTableName);
68 SQLRETURN SQL_API SQLProcedureColumnsW(SQLHSTMT hstmt,SQLWCHAR *szCatalogName,SQLSMALLINT cbCatalogName,SQLWCHAR *szSchemaName,SQLSMALLINT cbSchemaName,SQLWCHAR *szProcName,SQLSMALLINT cbProcName,SQLWCHAR *szColumnName,SQLSMALLINT cbColumnName);
69 SQLRETURN SQL_API SQLProceduresW(SQLHSTMT hstmt,SQLWCHAR *szCatalogName,SQLSMALLINT cbCatalogName,SQLWCHAR *szSchemaName,SQLSMALLINT cbSchemaName,SQLWCHAR *szProcName,SQLSMALLINT cbProcName);
70 SQLRETURN SQL_API SQLTablePrivilegesW(SQLHSTMT hstmt,SQLWCHAR *szCatalogName,SQLSMALLINT cbCatalogName,SQLWCHAR *szSchemaName,SQLSMALLINT cbSchemaName,SQLWCHAR *szTableName,SQLSMALLINT cbTableName);
71 SQLRETURN SQL_API SQLDriversW(SQLHENV henv,SQLUSMALLINT fDirection,SQLWCHAR *szDriverDesc,SQLSMALLINT cbDriverDescMax,SQLSMALLINT *pcbDriverDesc,SQLWCHAR *szDriverAttributes,SQLSMALLINT cbDrvrAttrMax,SQLSMALLINT *pcbDrvrAttr);
72#ifdef _WIN64
73 SQLRETURN SQL_API SQLColAttributeA(SQLHSTMT hstmt,SQLSMALLINT iCol,SQLSMALLINT iField,SQLPOINTER pCharAttr,SQLSMALLINT cbCharAttrMax,SQLSMALLINT *pcbCharAttr,SQLLEN *pNumAttr);
74#else
75 SQLRETURN SQL_API SQLColAttributeA(SQLHSTMT hstmt,SQLSMALLINT iCol,SQLSMALLINT iField,SQLPOINTER pCharAttr,SQLSMALLINT cbCharAttrMax,SQLSMALLINT *pcbCharAttr,SQLPOINTER pNumAttr);
76#endif
77 SQLRETURN SQL_API SQLColAttributesA(SQLHSTMT hstmt,SQLUSMALLINT icol,SQLUSMALLINT fDescType,SQLPOINTER rgbDesc,SQLSMALLINT cbDescMax,SQLSMALLINT *pcbDesc,SQLLEN *pfDesc);
78 SQLRETURN SQL_API SQLConnectA(SQLHDBC hdbc,SQLCHAR *szDSN,SQLSMALLINT cbDSN,SQLCHAR *szUID,SQLSMALLINT cbUID,SQLCHAR *szAuthStr,SQLSMALLINT cbAuthStr);
79 SQLRETURN SQL_API SQLDescribeColA(SQLHSTMT hstmt,SQLUSMALLINT icol,SQLCHAR *szColName,SQLSMALLINT cbColNameMax,SQLSMALLINT *pcbColName,SQLSMALLINT *pfSqlType,SQLUINTEGER *pcbColDef,SQLSMALLINT *pibScale,SQLSMALLINT *pfNullable);
80 SQLRETURN SQL_API SQLErrorA(SQLHENV henv,SQLHDBC hdbc,SQLHSTMT hstmt,SQLCHAR *szSqlState,SQLINTEGER *pfNativeError,SQLCHAR *szErrorMsg,SQLSMALLINT cbErrorMsgMax,SQLSMALLINT *pcbErrorMsg);
81 SQLRETURN SQL_API SQLExecDirectA(SQLHSTMT hstmt,SQLCHAR *szSqlStr,SQLINTEGER cbSqlStr);
82 SQLRETURN SQL_API SQLGetConnectAttrA(SQLHDBC hdbc,SQLINTEGER fAttribute,SQLPOINTER rgbValue,SQLINTEGER cbValueMax,SQLINTEGER *pcbValue);
83 SQLRETURN SQL_API SQLGetCursorNameA(SQLHSTMT hstmt,SQLCHAR *szCursor,SQLSMALLINT cbCursorMax,SQLSMALLINT *pcbCursor);
84#if (ODBCVER >= 0x0300)
85 SQLRETURN SQL_API SQLGetDescFieldA(SQLHDESC hdesc,SQLSMALLINT iRecord,SQLSMALLINT iField,SQLPOINTER rgbValue,SQLINTEGER cbValueMax,SQLINTEGER *pcbValue);
86 SQLRETURN SQL_API SQLGetDescRecA(SQLHDESC hdesc,SQLSMALLINT iRecord,SQLCHAR *szName,SQLSMALLINT cbNameMax,SQLSMALLINT *pcbName,SQLSMALLINT *pfType,SQLSMALLINT *pfSubType,SQLINTEGER *pLength,SQLSMALLINT *pPrecision,SQLSMALLINT *pScale,SQLSMALLINT *pNullable);
87 SQLRETURN SQL_API SQLGetDiagFieldA(SQLSMALLINT fHandleType,SQLHANDLE handle,SQLSMALLINT iRecord,SQLSMALLINT fDiagField,SQLPOINTER rgbDiagInfo,SQLSMALLINT cbDiagInfoMax,SQLSMALLINT *pcbDiagInfo);
88 SQLRETURN SQL_API SQLGetDiagRecA(SQLSMALLINT fHandleType,SQLHANDLE handle,SQLSMALLINT iRecord,SQLCHAR *szSqlState,SQLINTEGER *pfNativeError,SQLCHAR *szErrorMsg,SQLSMALLINT cbErrorMsgMax,SQLSMALLINT *pcbErrorMsg);
89 SQLRETURN SQL_API SQLGetStmtAttrA(SQLHSTMT hstmt,SQLINTEGER fAttribute,SQLPOINTER rgbValue,SQLINTEGER cbValueMax,SQLINTEGER *pcbValue);
90#endif
91 SQLRETURN SQL_API SQLGetTypeInfoA(SQLHSTMT StatementHandle,SQLSMALLINT DataTyoe);
92 SQLRETURN SQL_API SQLPrepareA(SQLHSTMT hstmt,SQLCHAR *szSqlStr,SQLINTEGER cbSqlStr);
93 SQLRETURN SQL_API SQLSetConnectAttrA(SQLHDBC hdbc,SQLINTEGER fAttribute,SQLPOINTER rgbValue,SQLINTEGER cbValue);
94 SQLRETURN SQL_API SQLSetCursorNameA(SQLHSTMT hstmt,SQLCHAR *szCursor,SQLSMALLINT cbCursor);
95 SQLRETURN SQL_API SQLColumnsA(SQLHSTMT hstmt,SQLCHAR *szCatalogName,SQLSMALLINT cbCatalogName,SQLCHAR *szSchemaName,SQLSMALLINT cbSchemaName,SQLCHAR *szTableName,SQLSMALLINT cbTableName,SQLCHAR *szColumnName,SQLSMALLINT cbColumnName);
96 SQLRETURN SQL_API SQLGetConnectOptionA(SQLHDBC hdbc,SQLUSMALLINT fOption,SQLPOINTER pvParam);
97 SQLRETURN SQL_API SQLGetInfoA(SQLHDBC hdbc,SQLUSMALLINT fInfoType,SQLPOINTER rgbInfoValue,SQLSMALLINT cbInfoValueMax,SQLSMALLINT *pcbInfoValue);
98 SQLRETURN SQL_API SQLGetStmtOptionA(SQLHSTMT hstmt,SQLUSMALLINT fOption,SQLPOINTER pvParam);
99 SQLRETURN SQL_API SQLSetConnectOptionA(SQLHDBC hdbc,SQLUSMALLINT fOption,SQLULEN vParam);
100 SQLRETURN SQL_API SQLSetStmtOptionA(SQLHSTMT hstmt,SQLUSMALLINT fOption,SQLULEN vParam);
101 SQLRETURN SQL_API SQLSpecialColumnsA(SQLHSTMT hstmt,SQLUSMALLINT fColType,SQLCHAR *szCatalogName,SQLSMALLINT cbCatalogName,SQLCHAR *szSchemaName,SQLSMALLINT cbSchemaName,SQLCHAR *szTableName,SQLSMALLINT cbTableName,SQLUSMALLINT fScope,SQLUSMALLINT fNullable);
102 SQLRETURN SQL_API SQLStatisticsA(SQLHSTMT hstmt,SQLCHAR *szCatalogName,SQLSMALLINT cbCatalogName,SQLCHAR *szSchemaName,SQLSMALLINT cbSchemaName,SQLCHAR *szTableName,SQLSMALLINT cbTableName,SQLUSMALLINT fUnique,SQLUSMALLINT fAccuracy);
103 SQLRETURN SQL_API SQLTablesA(SQLHSTMT hstmt,SQLCHAR *szCatalogName,SQLSMALLINT cbCatalogName,SQLCHAR *szSchemaName,SQLSMALLINT cbSchemaName,SQLCHAR *szTableName,SQLSMALLINT cbTableName,SQLCHAR *szTableType,SQLSMALLINT cbTableType);
104 SQLRETURN SQL_API SQLDataSourcesA(SQLHENV henv,SQLUSMALLINT fDirection,SQLCHAR *szDSN,SQLSMALLINT cbDSNMax,SQLSMALLINT *pcbDSN,SQLCHAR *szDescription,SQLSMALLINT cbDescriptionMax,SQLSMALLINT *pcbDescription);
105 SQLRETURN SQL_API SQLDriverConnectA(SQLHDBC hdbc,SQLHWND hwnd,SQLCHAR *szConnStrIn,SQLSMALLINT cbConnStrIn,SQLCHAR *szConnStrOut,SQLSMALLINT cbConnStrOutMax,SQLSMALLINT *pcbConnStrOut,SQLUSMALLINT fDriverCompletion);
106 SQLRETURN SQL_API SQLBrowseConnectA(SQLHDBC hdbc,SQLCHAR *szConnStrIn,SQLSMALLINT cbConnStrIn,SQLCHAR *szConnStrOut,SQLSMALLINT cbConnStrOutMax,SQLSMALLINT *pcbConnStrOut);
107 SQLRETURN SQL_API SQLColumnPrivilegesA(SQLHSTMT hstmt,SQLCHAR *szCatalogName,SQLSMALLINT cbCatalogName,SQLCHAR *szSchemaName,SQLSMALLINT cbSchemaName,SQLCHAR *szTableName,SQLSMALLINT cbTableName,SQLCHAR *szColumnName,SQLSMALLINT cbColumnName);
108 SQLRETURN SQL_API SQLDescribeParamA(SQLHSTMT hstmt,SQLUSMALLINT ipar,SQLSMALLINT *pfSqlType,SQLUINTEGER *pcbParamDef,SQLSMALLINT *pibScale,SQLSMALLINT *pfNullable);
109 SQLRETURN SQL_API SQLForeignKeysA(SQLHSTMT hstmt,SQLCHAR *szPkCatalogName,SQLSMALLINT cbPkCatalogName,SQLCHAR *szPkSchemaName,SQLSMALLINT cbPkSchemaName,SQLCHAR *szPkTableName,SQLSMALLINT cbPkTableName,SQLCHAR *szFkCatalogName,SQLSMALLINT cbFkCatalogName,SQLCHAR *szFkSchemaName,SQLSMALLINT cbFkSchemaName,SQLCHAR *szFkTableName,SQLSMALLINT cbFkTableName);
110 SQLRETURN SQL_API SQLNativeSqlA(SQLHDBC hdbc,SQLCHAR *szSqlStrIn,SQLINTEGER cbSqlStrIn,SQLCHAR *szSqlStr,SQLINTEGER cbSqlStrMax,SQLINTEGER *pcbSqlStr);
111 SQLRETURN SQL_API SQLPrimaryKeysA(SQLHSTMT hstmt,SQLCHAR *szCatalogName,SQLSMALLINT cbCatalogName,SQLCHAR *szSchemaName,SQLSMALLINT cbSchemaName,SQLCHAR *szTableName,SQLSMALLINT cbTableName);
112 SQLRETURN SQL_API SQLProcedureColumnsA(SQLHSTMT hstmt,SQLCHAR *szCatalogName,SQLSMALLINT cbCatalogName,SQLCHAR *szSchemaName,SQLSMALLINT cbSchemaName,SQLCHAR *szProcName,SQLSMALLINT cbProcName,SQLCHAR *szColumnName,SQLSMALLINT cbColumnName);
113 SQLRETURN SQL_API SQLProceduresA(SQLHSTMT hstmt,SQLCHAR *szCatalogName,SQLSMALLINT cbCatalogName,SQLCHAR *szSchemaName,SQLSMALLINT cbSchemaName,SQLCHAR *szProcName,SQLSMALLINT cbProcName);
114 SQLRETURN SQL_API SQLTablePrivilegesA(SQLHSTMT hstmt,SQLCHAR *szCatalogName,SQLSMALLINT cbCatalogName,SQLCHAR *szSchemaName,SQLSMALLINT cbSchemaName,SQLCHAR *szTableName,SQLSMALLINT cbTableName);
115 SQLRETURN SQL_API SQLDriversA(SQLHENV henv,SQLUSMALLINT fDirection,SQLCHAR *szDriverDesc,SQLSMALLINT cbDriverDescMax,SQLSMALLINT *pcbDriverDesc,SQLCHAR *szDriverAttributes,SQLSMALLINT cbDrvrAttrMax,SQLSMALLINT *pcbDrvrAttr);
116
117#ifndef SQL_NOUNICODEMAP
118#if defined(UNICODE)
119#define SQLColAttribute SQLColAttributeW
120#define SQLColAttributes SQLColAttributesW
121#define SQLConnect SQLConnectW
122#define SQLDescribeCol SQLDescribeColW
123#define SQLError SQLErrorW
124#define SQLExecDirect SQLExecDirectW
125#define SQLGetConnectAttr SQLGetConnectAttrW
126#define SQLGetCursorName SQLGetCursorNameW
127#define SQLGetDescField SQLGetDescFieldW
128#define SQLGetDescRec SQLGetDescRecW
129#define SQLGetDiagField SQLGetDiagFieldW
130#define SQLGetDiagRec SQLGetDiagRecW
131#define SQLPrepare SQLPrepareW
132#define SQLSetConnectAttr SQLSetConnectAttrW
133#define SQLSetCursorName SQLSetCursorNameW
134#define SQLSetDescField SQLSetDescFieldW
135#define SQLSetStmtAttr SQLSetStmtAttrW
136#define SQLGetStmtAttr SQLGetStmtAttrW
137#define SQLColumns SQLColumnsW
138#define SQLGetConnectOption SQLGetConnectOptionW
139#define SQLGetInfo SQLGetInfoW
140#define SQLGetTypeInfo SQLGetTypeInfoW
141#define SQLSetConnectOption SQLSetConnectOptionW
142#define SQLSpecialColumns SQLSpecialColumnsW
143#define SQLStatistics SQLStatisticsW
144#define SQLTables SQLTablesW
145#define SQLDataSources SQLDataSourcesW
146#define SQLDriverConnect SQLDriverConnectW
147#define SQLBrowseConnect SQLBrowseConnectW
148#define SQLColumnPrivileges SQLColumnPrivilegesW
149#define SQLForeignKeys SQLForeignKeysW
150#define SQLNativeSql SQLNativeSqlW
151#define SQLPrimaryKeys SQLPrimaryKeysW
152#define SQLProcedureColumns SQLProcedureColumnsW
153#define SQLProcedures SQLProceduresW
154#define SQLTablePrivileges SQLTablePrivilegesW
155#define SQLDrivers SQLDriversW
156#endif
157#endif
158#endif
159
160#ifdef __cplusplus
161}
162#endif
163#endif
Note: See TracBrowser for help on using the repository browser.