Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
ce557472
Commit
ce557472
authored
Oct 01, 2020
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
odbc32: Use the exported names for the implementation functions.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
cb5edb4b
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
238 additions
and
245 deletions
+238
-245
odbc32.spec
dlls/odbc32/odbc32.spec
+117
-117
proxyodbc.c
dlls/odbc32/proxyodbc.c
+121
-128
No files found.
dlls/odbc32/odbc32.spec
View file @
ce557472
1 stdcall SQLAllocConnect(long ptr)
ODBC32_SQLAllocConnect
2 stdcall SQLAllocEnv(ptr)
ODBC32_SQLAllocEnv
3 stdcall SQLAllocStmt(long ptr)
ODBC32_SQLAllocStmt
4 stdcall SQLBindCol(long long long ptr long ptr)
ODBC32_SQLBindCol
5 stdcall SQLCancel(long)
ODBC32_SQLCancel
6 stdcall SQLColAttributes(long long long ptr long ptr ptr)
ODBC32_SQLColAttributes
7 stdcall SQLConnect(long str long str long str long)
ODBC32_SQLConnect
8 stdcall SQLDescribeCol(long long str long ptr ptr ptr ptr ptr)
ODBC32_SQLDescribeCol
9 stdcall SQLDisconnect(long)
ODBC32_SQLDisconnect
10 stdcall SQLError(long long long str ptr str long ptr)
ODBC32_SQLError
11 stdcall SQLExecDirect(long str long)
ODBC32_SQLExecDirect
12 stdcall SQLExecute(long)
ODBC32_SQLExecute
13 stdcall SQLFetch(long)
ODBC32_SQLFetch
14 stdcall SQLFreeConnect(long)
ODBC32_SQLFreeConnect
15 stdcall SQLFreeEnv(long)
ODBC32_SQLFreeEnv
16 stdcall SQLFreeStmt(long long )
ODBC32_SQLFreeStmt
17 stdcall SQLGetCursorName(long str long ptr)
ODBC32_SQLGetCursorName
18 stdcall SQLNumResultCols(long ptr)
ODBC32_SQLNumResultCols
19 stdcall SQLPrepare(long str long)
ODBC32_SQLPrepare
20 stdcall SQLRowCount(long ptr)
ODBC32_SQLRowCount
21 stdcall SQLSetCursorName(long str long)
ODBC32_SQLSetCursorName
22 stdcall SQLSetParam(long long long long long long ptr ptr)
ODBC32_SQLSetParam
23 stdcall SQLTransact(long long long)
ODBC32_SQLTransact
24 stdcall SQLAllocHandle(long long ptr)
ODBC32_SQLAllocHandle
25 stdcall SQLBindParam(long long long long long long ptr ptr)
ODBC32_SQLBindParam
26 stdcall SQLCloseCursor(long)
ODBC32_SQLCloseCursor
27 stdcall SQLColAttribute(long long long ptr long ptr ptr)
ODBC32_SQLColAttribute
28 stdcall SQLCopyDesc(long long)
ODBC32_SQLCopyDesc
29 stdcall SQLEndTran(long long long)
ODBC32_SQLEndTran
30 stdcall SQLFetchScroll(long long long)
ODBC32_SQLFetchScroll
31 stdcall SQLFreeHandle(long long)
ODBC32_SQLFreeHandle
32 stdcall SQLGetConnectAttr(long long ptr long ptr)
ODBC32_SQLGetConnectAttr
33 stdcall SQLGetDescField(long long long ptr long ptr)
ODBC32_SQLGetDescField
34 stdcall SQLGetDescRec(long long str long ptr ptr ptr ptr ptr ptr ptr)
ODBC32_SQLGetDescRec
35 stdcall SQLGetDiagField(long long long long ptr long ptr)
ODBC32_SQLGetDiagField
36 stdcall SQLGetDiagRec(long long long str ptr str long ptr)
ODBC32_SQLGetDiagRec
37 stdcall SQLGetEnvAttr(long long ptr long ptr)
ODBC32_SQLGetEnvAttr
38 stdcall SQLGetStmtAttr(long long ptr long ptr)
ODBC32_SQLGetStmtAttr
39 stdcall SQLSetConnectAttr(long long ptr long)
ODBC32_SQLSetConnectAttr
40 stdcall SQLColumns(long str long str long str long str long)
ODBC32_SQLColumns
41 stdcall SQLDriverConnect(long long str long str long ptr long)
ODBC32_SQLDriverConnect
42 stdcall SQLGetConnectOption(long long ptr)
ODBC32_SQLGetConnectOption
43 stdcall SQLGetData(long long long ptr long ptr)
ODBC32_SQLGetData
44 stdcall SQLGetFunctions(long long ptr)
ODBC32_SQLGetFunctions
45 stdcall SQLGetInfo(long long ptr long ptr)
ODBC32_SQLGetInfo
46 stdcall SQLGetStmtOption(long long ptr)
ODBC32_SQLGetStmtOption
47 stdcall SQLGetTypeInfo(long long)
ODBC32_SQLGetTypeInfo
48 stdcall SQLParamData(long ptr)
ODBC32_SQLParamData
49 stdcall SQLPutData(long ptr long)
ODBC32_SQLPutData
50 stdcall SQLSetConnectOption(long long long)
ODBC32_SQLSetConnectOption
51 stdcall SQLSetStmtOption(long long long)
ODBC32_SQLSetStmtOption
52 stdcall SQLSpecialColumns(long long str long str long str long long long)
ODBC32_SQLSpecialColumns
53 stdcall SQLStatistics(long str long str long str long long long)
ODBC32_SQLStatistics
54 stdcall SQLTables(long str long str long str long str long)
ODBC32_SQLTables
55 stdcall SQLBrowseConnect(long str long str long ptr)
ODBC32_SQLBrowseConnect
56 stdcall SQLColumnPrivileges(long str long str long str long str long)
ODBC32_SQLColumnPrivileges
57 stdcall SQLDataSources(long long str long ptr str long ptr)
ODBC32_SQLDataSources
58 stdcall SQLDescribeParam(long long ptr ptr ptr ptr)
ODBC32_SQLDescribeParam
59 stdcall SQLExtendedFetch(long long long ptr ptr)
ODBC32_SQLExtendedFetch
60 stdcall SQLForeignKeys(long str long str long str long str long str long str long)
ODBC32_SQLForeignKeys
61 stdcall SQLMoreResults(long)
ODBC32_SQLMoreResults
62 stdcall SQLNativeSql(long str long str long ptr)
ODBC32_SQLNativeSql
63 stdcall SQLNumParams(long ptr)
ODBC32_SQLNumParams
64 stdcall SQLParamOptions(long long ptr)
ODBC32_SQLParamOptions
65 stdcall SQLPrimaryKeys(long str long str long str long)
ODBC32_SQLPrimaryKeys
66 stdcall SQLProcedureColumns(long str long str long str long str long)
ODBC32_SQLProcedureColumns
67 stdcall SQLProcedures(long str long str long str long)
ODBC32_SQLProcedures
68 stdcall SQLSetPos(long long long long)
ODBC32_SQLSetPos
69 stdcall SQLSetScrollOptions(long long long long)
ODBC32_SQLSetScrollOptions
70 stdcall SQLTablePrivileges(long str long str long str long)
ODBC32_SQLTablePrivileges
71 stdcall SQLDrivers(long long str long ptr str long ptr)
ODBC32_SQLDrivers
72 stdcall SQLBindParameter(long long long long long long long ptr long ptr)
ODBC32_SQLBindParameter
73 stdcall SQLSetDescField(long long long ptr long)
ODBC32_SQLSetDescField
74 stdcall SQLSetDescRec(long long long long long long long ptr ptr ptr)
ODBC32_SQLSetDescRec
75 stdcall SQLSetEnvAttr(long long ptr long)
ODBC32_SQLSetEnvAttr
76 stdcall SQLSetStmtAttr(long long ptr long)
ODBC32_SQLSetStmtAttr
77 stdcall SQLAllocHandleStd(long long ptr)
ODBC32_SQLAllocHandleStd
78 stdcall SQLBulkOperations(long long)
ODBC32_SQLBulkOperations
1 stdcall SQLAllocConnect(long ptr)
2 stdcall SQLAllocEnv(ptr)
3 stdcall SQLAllocStmt(long ptr)
4 stdcall SQLBindCol(long long long ptr long ptr)
5 stdcall SQLCancel(long)
6 stdcall SQLColAttributes(long long long ptr long ptr ptr)
7 stdcall SQLConnect(long str long str long str long)
8 stdcall SQLDescribeCol(long long str long ptr ptr ptr ptr ptr)
9 stdcall SQLDisconnect(long)
10 stdcall SQLError(long long long str ptr str long ptr)
11 stdcall SQLExecDirect(long str long)
12 stdcall SQLExecute(long)
13 stdcall SQLFetch(long)
14 stdcall SQLFreeConnect(long)
15 stdcall SQLFreeEnv(long)
16 stdcall SQLFreeStmt(long long )
17 stdcall SQLGetCursorName(long str long ptr)
18 stdcall SQLNumResultCols(long ptr)
19 stdcall SQLPrepare(long str long)
20 stdcall SQLRowCount(long ptr)
21 stdcall SQLSetCursorName(long str long)
22 stdcall SQLSetParam(long long long long long long ptr ptr)
23 stdcall SQLTransact(long long long)
24 stdcall SQLAllocHandle(long long ptr)
25 stdcall SQLBindParam(long long long long long long ptr ptr)
26 stdcall SQLCloseCursor(long)
27 stdcall SQLColAttribute(long long long ptr long ptr ptr)
28 stdcall SQLCopyDesc(long long)
29 stdcall SQLEndTran(long long long)
30 stdcall SQLFetchScroll(long long long)
31 stdcall SQLFreeHandle(long long)
32 stdcall SQLGetConnectAttr(long long ptr long ptr)
33 stdcall SQLGetDescField(long long long ptr long ptr)
34 stdcall SQLGetDescRec(long long str long ptr ptr ptr ptr ptr ptr ptr)
35 stdcall SQLGetDiagField(long long long long ptr long ptr)
36 stdcall SQLGetDiagRec(long long long str ptr str long ptr)
37 stdcall SQLGetEnvAttr(long long ptr long ptr)
38 stdcall SQLGetStmtAttr(long long ptr long ptr)
39 stdcall SQLSetConnectAttr(long long ptr long)
40 stdcall SQLColumns(long str long str long str long str long)
41 stdcall SQLDriverConnect(long long str long str long ptr long)
42 stdcall SQLGetConnectOption(long long ptr)
43 stdcall SQLGetData(long long long ptr long ptr)
44 stdcall SQLGetFunctions(long long ptr)
45 stdcall SQLGetInfo(long long ptr long ptr)
46 stdcall SQLGetStmtOption(long long ptr)
47 stdcall SQLGetTypeInfo(long long)
48 stdcall SQLParamData(long ptr)
49 stdcall SQLPutData(long ptr long)
50 stdcall SQLSetConnectOption(long long long)
51 stdcall SQLSetStmtOption(long long long)
52 stdcall SQLSpecialColumns(long long str long str long str long long long)
53 stdcall SQLStatistics(long str long str long str long long long)
54 stdcall SQLTables(long str long str long str long str long)
55 stdcall SQLBrowseConnect(long str long str long ptr)
56 stdcall SQLColumnPrivileges(long str long str long str long str long)
57 stdcall SQLDataSources(long long str long ptr str long ptr)
58 stdcall SQLDescribeParam(long long ptr ptr ptr ptr)
59 stdcall SQLExtendedFetch(long long long ptr ptr)
60 stdcall SQLForeignKeys(long str long str long str long str long str long str long)
61 stdcall SQLMoreResults(long)
62 stdcall SQLNativeSql(long str long str long ptr)
63 stdcall SQLNumParams(long ptr)
64 stdcall SQLParamOptions(long long ptr)
65 stdcall SQLPrimaryKeys(long str long str long str long)
66 stdcall SQLProcedureColumns(long str long str long str long str long)
67 stdcall SQLProcedures(long str long str long str long)
68 stdcall SQLSetPos(long long long long)
69 stdcall SQLSetScrollOptions(long long long long)
70 stdcall SQLTablePrivileges(long str long str long str long)
71 stdcall SQLDrivers(long long str long ptr str long ptr)
72 stdcall SQLBindParameter(long long long long long long long ptr long ptr)
73 stdcall SQLSetDescField(long long long ptr long)
74 stdcall SQLSetDescRec(long long long long long long long ptr ptr ptr)
75 stdcall SQLSetEnvAttr(long long ptr long)
76 stdcall SQLSetStmtAttr(long long ptr long)
77 stdcall SQLAllocHandleStd(long long ptr)
78 stdcall SQLBulkOperations(long long)
79 stub CloseODBCPerfData
80 stub CollectODBCPerfData
81 stub CursorLibLockDbc
...
...
@@ -86,43 +86,43 @@
86 stub ODBSetTryWaitValue
89 stub ODBCSharedPerfMon
90 stub ODBCSharedVSFlag
106 stdcall SQLColAttributesW(long long long ptr long ptr ptr)
ODBC32_SQLColAttributesW
107 stdcall SQLConnectW(long wstr long wstr long wstr long)
ODBC32_SQLConnectW
108 stdcall SQLDescribeColW(long long wstr long ptr ptr ptr ptr ptr)
ODBC32_SQLDescribeColW
110 stdcall SQLErrorW(long long long wstr ptr wstr long ptr)
ODBC32_SQLErrorW
111 stdcall SQLExecDirectW(long wstr long)
ODBC32_SQLExecDirectW
117 stdcall SQLGetCursorNameW(long wstr long ptr)
ODBC32_SQLGetCursorNameW
119 stdcall SQLPrepareW(long wstr long)
ODBC32_SQLPrepareW
121 stdcall SQLSetCursorNameW(long wstr long)
ODBC32_SQLSetCursorNameW
127 stdcall SQLColAttributeW(long long long ptr long ptr ptr)
ODBC32_SQLColAttributeW
132 stdcall SQLGetConnectAttrW(long long ptr long ptr)
ODBC32_SQLGetConnectAttrW
133 stdcall SQLGetDescFieldW(long long long ptr long ptr)
ODBC32_SQLGetDescFieldW
134 stdcall SQLGetDescRecW(long long wstr long ptr ptr ptr ptr ptr ptr ptr)
ODBC32_SQLGetDescRecW
135 stdcall SQLGetDiagFieldW(long long long long ptr long ptr)
ODBC32_SQLGetDiagFieldW
136 stdcall SQLGetDiagRecW(long long long wstr ptr wstr long ptr)
ODBC32_SQLGetDiagRecW
138 stdcall SQLGetStmtAttrW(long long ptr long ptr)
ODBC32_SQLGetStmtAttrW
139 stdcall SQLSetConnectAttrW(long long ptr long)
ODBC32_SQLSetConnectAttrW
140 stdcall SQLColumnsW(long wstr long wstr long wstr long wstr long)
ODBC32_SQLColumnsW
141 stdcall SQLDriverConnectW(long long wstr long wstr long ptr long)
ODBC32_SQLDriverConnectW
142 stdcall SQLGetConnectOptionW(long long ptr)
ODBC32_SQLGetConnectOptionW
145 stdcall SQLGetInfoW(long long ptr long ptr)
ODBC32_SQLGetInfoW
147 stdcall SQLGetTypeInfoW(long long)
ODBC32_SQLGetTypeInfoW
150 stdcall SQLSetConnectOptionW(long long long)
ODBC32_SQLSetConnectOptionW
152 stdcall SQLSpecialColumnsW(long long wstr long wstr long wstr long long long)
ODBC32_SQLSpecialColumnsW
153 stdcall SQLStatisticsW(long wstr long wstr long wstr long long long)
ODBC32_SQLStatisticsW
154 stdcall SQLTablesW(long wstr long wstr long wstr long wstr long)
ODBC32_SQLTablesW
155 stdcall SQLBrowseConnectW(long wstr long wstr long ptr)
ODBC32_SQLBrowseConnectW
156 stdcall SQLColumnPrivilegesW(long wstr long wstr long wstr long wstr long)
ODBC32_SQLColumnPrivilegesW
157 stdcall SQLDataSourcesW(long long wstr long ptr wstr long ptr)
ODBC32_SQLDataSourcesW
160 stdcall SQLForeignKeysW(long wstr long wstr long wstr long wstr long wstr long wstr long)
ODBC32_SQLForeignKeysW
162 stdcall SQLNativeSqlW(long wstr long wstr long ptr)
ODBC32_SQLNativeSqlW
165 stdcall SQLPrimaryKeysW(long wstr long wstr long wstr long)
ODBC32_SQLPrimaryKeysW
166 stdcall SQLProcedureColumnsW(long wstr long wstr long wstr long wstr long)
ODBC32_SQLProcedureColumnsW
167 stdcall SQLProceduresW(long wstr long wstr long wstr long)
ODBC32_SQLProceduresW
170 stdcall SQLTablePrivilegesW(long wstr long wstr long wstr long)
ODBC32_SQLTablePrivilegesW
171 stdcall SQLDriversW(long long wstr long ptr wstr long ptr)
ODBC32_SQLDriversW
173 stdcall SQLSetDescFieldW(long long long ptr long)
ODBC32_SQLSetDescFieldW
176 stdcall SQLSetStmtAttrW(long long ptr long)
ODBC32_SQLSetStmtAttrW
106 stdcall SQLColAttributesW(long long long ptr long ptr ptr)
107 stdcall SQLConnectW(long wstr long wstr long wstr long)
108 stdcall SQLDescribeColW(long long wstr long ptr ptr ptr ptr ptr)
110 stdcall SQLErrorW(long long long wstr ptr wstr long ptr)
111 stdcall SQLExecDirectW(long wstr long)
117 stdcall SQLGetCursorNameW(long wstr long ptr)
119 stdcall SQLPrepareW(long wstr long)
121 stdcall SQLSetCursorNameW(long wstr long)
127 stdcall SQLColAttributeW(long long long ptr long ptr ptr)
132 stdcall SQLGetConnectAttrW(long long ptr long ptr)
133 stdcall SQLGetDescFieldW(long long long ptr long ptr)
134 stdcall SQLGetDescRecW(long long wstr long ptr ptr ptr ptr ptr ptr ptr)
135 stdcall SQLGetDiagFieldW(long long long long ptr long ptr)
136 stdcall SQLGetDiagRecW(long long long wstr ptr wstr long ptr)
138 stdcall SQLGetStmtAttrW(long long ptr long ptr)
139 stdcall SQLSetConnectAttrW(long long ptr long)
140 stdcall SQLColumnsW(long wstr long wstr long wstr long wstr long)
141 stdcall SQLDriverConnectW(long long wstr long wstr long ptr long)
142 stdcall SQLGetConnectOptionW(long long ptr)
145 stdcall SQLGetInfoW(long long ptr long ptr)
147 stdcall SQLGetTypeInfoW(long long)
150 stdcall SQLSetConnectOptionW(long long long)
152 stdcall SQLSpecialColumnsW(long long wstr long wstr long wstr long long long)
153 stdcall SQLStatisticsW(long wstr long wstr long wstr long long long)
154 stdcall SQLTablesW(long wstr long wstr long wstr long wstr long)
155 stdcall SQLBrowseConnectW(long wstr long wstr long ptr)
156 stdcall SQLColumnPrivilegesW(long wstr long wstr long wstr long wstr long)
157 stdcall SQLDataSourcesW(long long wstr long ptr wstr long ptr)
160 stdcall SQLForeignKeysW(long wstr long wstr long wstr long wstr long wstr long wstr long)
162 stdcall SQLNativeSqlW(long wstr long wstr long ptr)
165 stdcall SQLPrimaryKeysW(long wstr long wstr long wstr long)
166 stdcall SQLProcedureColumnsW(long wstr long wstr long wstr long wstr long)
167 stdcall SQLProceduresW(long wstr long wstr long wstr long)
170 stdcall SQLTablePrivilegesW(long wstr long wstr long wstr long)
171 stdcall SQLDriversW(long long wstr long ptr wstr long ptr)
173 stdcall SQLSetDescFieldW(long long long ptr long)
176 stdcall SQLSetStmtAttrW(long long ptr long)
206 stub SQLColAttributesA
207 stub SQLConnectA
208 stub SQLDescribeColA
...
...
@@ -136,7 +136,7 @@
233 stub SQLGetDescFieldA
234 stub SQLGetDescRecA
235 stub SQLGetDiagFieldA
236 stdcall SQLGetDiagRecA(long long long ptr ptr ptr long ptr)
ODBC32_SQLGetDiagRecA
236 stdcall SQLGetDiagRecA(long long long ptr ptr ptr long ptr)
238 stub SQLGetStmtAttrA
239 stub SQLSetConnectAttrA
240 stub SQLColumnsA
...
...
@@ -150,7 +150,7 @@
254 stub SQLTablesA
255 stub SQLBrowseConnectA
256 stub SQLColumnPrivilegesA
257 stdcall SQLDataSourcesA(long long str long ptr str long ptr)
ODBC32_SQLDataSourcesA
257 stdcall SQLDataSourcesA(long long str long ptr str long ptr)
260 stub SQLForeignKeysA
262 stub SQLNativeSqlA
265 stub SQLPrimaryKeysA
...
...
dlls/odbc32/proxyodbc.c
View file @
ce557472
...
...
@@ -176,13 +176,6 @@ static SQLRETURN (*pSQLGetDiagRecA)(SQLSMALLINT,SQLHANDLE,SQLSMALLINT,SQLCHAR*,S
static
void
*
dmHandle
;
static
int
nErrorType
;
SQLRETURN
WINAPI
ODBC32_SQLAllocEnv
(
SQLHENV
*
);
SQLRETURN
WINAPI
ODBC32_SQLFreeEnv
(
SQLHENV
);
SQLRETURN
WINAPI
ODBC32_SQLDataSources
(
SQLHENV
,
SQLUSMALLINT
,
SQLCHAR
*
,
SQLSMALLINT
,
SQLSMALLINT
*
,
SQLCHAR
*
,
SQLSMALLINT
,
SQLSMALLINT
*
);
SQLRETURN
WINAPI
ODBC32_SQLDrivers
(
SQLHENV
,
SQLUSMALLINT
,
SQLCHAR
*
,
SQLSMALLINT
,
SQLSMALLINT
*
,
SQLCHAR
*
,
SQLSMALLINT
,
SQLSMALLINT
*
);
/***********************************************************************
* ODBC_ReplicateODBCInstToRegistry
*
...
...
@@ -226,7 +219,7 @@ static void ODBC_ReplicateODBCInstToRegistry (SQLHENV hEnv)
success
=
TRUE
;
dirn
=
SQL_FETCH_FIRST
;
while
((
sql_ret
=
ODBC32_
SQLDrivers
(
hEnv
,
dirn
,
(
SQLCHAR
*
)
desc
,
sizeof
(
desc
),
while
((
sql_ret
=
SQLDrivers
(
hEnv
,
dirn
,
(
SQLCHAR
*
)
desc
,
sizeof
(
desc
),
&
sizedesc
,
NULL
,
0
,
NULL
))
==
SQL_SUCCESS
||
sql_ret
==
SQL_SUCCESS_WITH_INFO
)
{
...
...
@@ -353,7 +346,7 @@ static void ODBC_ReplicateODBCToRegistry (BOOL is_user, SQLHENV hEnv)
{
success
=
TRUE
;
dirn
=
is_user
?
SQL_FETCH_FIRST_USER
:
SQL_FETCH_FIRST_SYSTEM
;
while
((
sql_ret
=
ODBC32_
SQLDataSources
(
hEnv
,
dirn
,
while
((
sql_ret
=
SQLDataSources
(
hEnv
,
dirn
,
(
SQLCHAR
*
)
dsn
,
sizeof
(
dsn
),
&
sizedsn
,
(
SQLCHAR
*
)
desc
,
sizeof
(
desc
),
&
sizedesc
))
==
SQL_SUCCESS
||
sql_ret
==
SQL_SUCCESS_WITH_INFO
)
...
...
@@ -453,13 +446,13 @@ static void ODBC_ReplicateToRegistry (void)
SQLRETURN
sql_ret
;
SQLHENV
hEnv
;
if
((
sql_ret
=
ODBC32_SQLAllocEnv
(
&
hEnv
))
==
SQL_SUCCESS
)
if
((
sql_ret
=
SQLAllocEnv
(
&
hEnv
))
==
SQL_SUCCESS
)
{
ODBC_ReplicateODBCInstToRegistry
(
hEnv
);
ODBC_ReplicateODBCToRegistry
(
FALSE
/* system dsns */
,
hEnv
);
ODBC_ReplicateODBCToRegistry
(
TRUE
/* user dsns */
,
hEnv
);
if
((
sql_ret
=
ODBC32_SQLFreeEnv
(
hEnv
))
!=
SQL_SUCCESS
)
if
((
sql_ret
=
SQLFreeEnv
(
hEnv
))
!=
SQL_SUCCESS
)
{
TRACE
(
"Error %d freeing the SQL environment.
\n
"
,
(
int
)
sql_ret
);
}
...
...
@@ -676,7 +669,7 @@ static BOOL ODBC_LoadDMFunctions(void)
/*************************************************************************
* SQLAllocConnect [ODBC32.001]
*/
SQLRETURN
WINAPI
ODBC32_
SQLAllocConnect
(
SQLHENV
EnvironmentHandle
,
SQLHDBC
*
ConnectionHandle
)
SQLRETURN
WINAPI
SQLAllocConnect
(
SQLHENV
EnvironmentHandle
,
SQLHDBC
*
ConnectionHandle
)
{
SQLRETURN
ret
;
...
...
@@ -697,7 +690,7 @@ SQLRETURN WINAPI ODBC32_SQLAllocConnect(SQLHENV EnvironmentHandle, SQLHDBC *Conn
/*************************************************************************
* SQLAllocEnv [ODBC32.002]
*/
SQLRETURN
WINAPI
ODBC32_
SQLAllocEnv
(
SQLHENV
*
EnvironmentHandle
)
SQLRETURN
WINAPI
SQLAllocEnv
(
SQLHENV
*
EnvironmentHandle
)
{
SQLRETURN
ret
;
...
...
@@ -718,7 +711,7 @@ SQLRETURN WINAPI ODBC32_SQLAllocEnv(SQLHENV *EnvironmentHandle)
/*************************************************************************
* SQLAllocHandle [ODBC32.024]
*/
SQLRETURN
WINAPI
ODBC32_
SQLAllocHandle
(
SQLSMALLINT
HandleType
,
SQLHANDLE
InputHandle
,
SQLHANDLE
*
OutputHandle
)
SQLRETURN
WINAPI
SQLAllocHandle
(
SQLSMALLINT
HandleType
,
SQLHANDLE
InputHandle
,
SQLHANDLE
*
OutputHandle
)
{
SQLRETURN
ret
;
...
...
@@ -750,7 +743,7 @@ SQLRETURN WINAPI ODBC32_SQLAllocHandle(SQLSMALLINT HandleType, SQLHANDLE InputHa
/*************************************************************************
* SQLAllocStmt [ODBC32.003]
*/
SQLRETURN
WINAPI
ODBC32_
SQLAllocStmt
(
SQLHDBC
ConnectionHandle
,
SQLHSTMT
*
StatementHandle
)
SQLRETURN
WINAPI
SQLAllocStmt
(
SQLHDBC
ConnectionHandle
,
SQLHSTMT
*
StatementHandle
)
{
SQLRETURN
ret
;
...
...
@@ -771,7 +764,7 @@ SQLRETURN WINAPI ODBC32_SQLAllocStmt(SQLHDBC ConnectionHandle, SQLHSTMT *Stateme
/*************************************************************************
* SQLAllocHandleStd [ODBC32.077]
*/
SQLRETURN
WINAPI
ODBC32_
SQLAllocHandleStd
(
SQLSMALLINT
HandleType
,
SQLHANDLE
InputHandle
,
SQLHANDLE
*
OutputHandle
)
SQLRETURN
WINAPI
SQLAllocHandleStd
(
SQLSMALLINT
HandleType
,
SQLHANDLE
InputHandle
,
SQLHANDLE
*
OutputHandle
)
{
SQLRETURN
ret
;
...
...
@@ -811,7 +804,7 @@ static const char *debugstr_sqllen( SQLLEN len )
/*************************************************************************
* SQLBindCol [ODBC32.004]
*/
SQLRETURN
WINAPI
ODBC32_
SQLBindCol
(
SQLHSTMT
StatementHandle
,
SQLUSMALLINT
ColumnNumber
,
SQLSMALLINT
TargetType
,
SQLRETURN
WINAPI
SQLBindCol
(
SQLHSTMT
StatementHandle
,
SQLUSMALLINT
ColumnNumber
,
SQLSMALLINT
TargetType
,
SQLPOINTER
TargetValue
,
SQLLEN
BufferLength
,
SQLLEN
*
StrLen_or_Ind
)
{
SQLRETURN
ret
;
...
...
@@ -842,7 +835,7 @@ static const char *debugstr_sqlulen( SQLULEN len )
/*************************************************************************
* SQLBindParam [ODBC32.025]
*/
SQLRETURN
WINAPI
ODBC32_
SQLBindParam
(
SQLHSTMT
StatementHandle
,
SQLUSMALLINT
ParameterNumber
,
SQLSMALLINT
ValueType
,
SQLRETURN
WINAPI
SQLBindParam
(
SQLHSTMT
StatementHandle
,
SQLUSMALLINT
ParameterNumber
,
SQLSMALLINT
ValueType
,
SQLSMALLINT
ParameterType
,
SQLULEN
LengthPrecision
,
SQLSMALLINT
ParameterScale
,
SQLPOINTER
ParameterValue
,
SQLLEN
*
StrLen_or_Ind
)
{
...
...
@@ -863,7 +856,7 @@ SQLRETURN WINAPI ODBC32_SQLBindParam(SQLHSTMT StatementHandle, SQLUSMALLINT Para
/*************************************************************************
* SQLCancel [ODBC32.005]
*/
SQLRETURN
WINAPI
ODBC32_
SQLCancel
(
SQLHSTMT
StatementHandle
)
SQLRETURN
WINAPI
SQLCancel
(
SQLHSTMT
StatementHandle
)
{
SQLRETURN
ret
;
...
...
@@ -879,7 +872,7 @@ SQLRETURN WINAPI ODBC32_SQLCancel(SQLHSTMT StatementHandle)
/*************************************************************************
* SQLCloseCursor [ODBC32.026]
*/
SQLRETURN
WINAPI
ODBC32_
SQLCloseCursor
(
SQLHSTMT
StatementHandle
)
SQLRETURN
WINAPI
SQLCloseCursor
(
SQLHSTMT
StatementHandle
)
{
SQLRETURN
ret
;
...
...
@@ -895,7 +888,7 @@ SQLRETURN WINAPI ODBC32_SQLCloseCursor(SQLHSTMT StatementHandle)
/*************************************************************************
* SQLColAttribute [ODBC32.027]
*/
SQLRETURN
WINAPI
ODBC32_
SQLColAttribute
(
SQLHSTMT
StatementHandle
,
SQLUSMALLINT
ColumnNumber
,
SQLRETURN
WINAPI
SQLColAttribute
(
SQLHSTMT
StatementHandle
,
SQLUSMALLINT
ColumnNumber
,
SQLUSMALLINT
FieldIdentifier
,
SQLPOINTER
CharacterAttribute
,
SQLSMALLINT
BufferLength
,
SQLSMALLINT
*
StringLength
,
SQLLEN
*
NumericAttribute
)
...
...
@@ -917,7 +910,7 @@ SQLRETURN WINAPI ODBC32_SQLColAttribute(SQLHSTMT StatementHandle, SQLUSMALLINT C
/*************************************************************************
* SQLColumns [ODBC32.040]
*/
SQLRETURN
WINAPI
ODBC32_
SQLColumns
(
SQLHSTMT
StatementHandle
,
SQLCHAR
*
CatalogName
,
SQLSMALLINT
NameLength1
,
SQLRETURN
WINAPI
SQLColumns
(
SQLHSTMT
StatementHandle
,
SQLCHAR
*
CatalogName
,
SQLSMALLINT
NameLength1
,
SQLCHAR
*
SchemaName
,
SQLSMALLINT
NameLength2
,
SQLCHAR
*
TableName
,
SQLSMALLINT
NameLength3
,
SQLCHAR
*
ColumnName
,
SQLSMALLINT
NameLength4
)
{
...
...
@@ -941,7 +934,7 @@ SQLRETURN WINAPI ODBC32_SQLColumns(SQLHSTMT StatementHandle, SQLCHAR *CatalogNam
/*************************************************************************
* SQLConnect [ODBC32.007]
*/
SQLRETURN
WINAPI
ODBC32_
SQLConnect
(
SQLHDBC
ConnectionHandle
,
SQLCHAR
*
ServerName
,
SQLSMALLINT
NameLength1
,
SQLRETURN
WINAPI
SQLConnect
(
SQLHDBC
ConnectionHandle
,
SQLCHAR
*
ServerName
,
SQLSMALLINT
NameLength1
,
SQLCHAR
*
UserName
,
SQLSMALLINT
NameLength2
,
SQLCHAR
*
Authentication
,
SQLSMALLINT
NameLength3
)
{
...
...
@@ -963,7 +956,7 @@ SQLRETURN WINAPI ODBC32_SQLConnect(SQLHDBC ConnectionHandle, SQLCHAR *ServerName
/*************************************************************************
* SQLCopyDesc [ODBC32.028]
*/
SQLRETURN
WINAPI
ODBC32_
SQLCopyDesc
(
SQLHDESC
SourceDescHandle
,
SQLHDESC
TargetDescHandle
)
SQLRETURN
WINAPI
SQLCopyDesc
(
SQLHDESC
SourceDescHandle
,
SQLHDESC
TargetDescHandle
)
{
SQLRETURN
ret
;
...
...
@@ -979,7 +972,7 @@ SQLRETURN WINAPI ODBC32_SQLCopyDesc(SQLHDESC SourceDescHandle, SQLHDESC TargetDe
/*************************************************************************
* SQLDataSources [ODBC32.057]
*/
SQLRETURN
WINAPI
ODBC32_
SQLDataSources
(
SQLHENV
EnvironmentHandle
,
SQLUSMALLINT
Direction
,
SQLCHAR
*
ServerName
,
SQLRETURN
WINAPI
SQLDataSources
(
SQLHENV
EnvironmentHandle
,
SQLUSMALLINT
Direction
,
SQLCHAR
*
ServerName
,
SQLSMALLINT
BufferLength1
,
SQLSMALLINT
*
NameLength1
,
SQLCHAR
*
Description
,
SQLSMALLINT
BufferLength2
,
SQLSMALLINT
*
NameLength2
)
{
...
...
@@ -1006,7 +999,7 @@ SQLRETURN WINAPI ODBC32_SQLDataSources(SQLHENV EnvironmentHandle, SQLUSMALLINT D
return
ret
;
}
SQLRETURN
WINAPI
ODBC32_
SQLDataSourcesA
(
SQLHENV
EnvironmentHandle
,
SQLUSMALLINT
Direction
,
SQLCHAR
*
ServerName
,
SQLRETURN
WINAPI
SQLDataSourcesA
(
SQLHENV
EnvironmentHandle
,
SQLUSMALLINT
Direction
,
SQLCHAR
*
ServerName
,
SQLSMALLINT
BufferLength1
,
SQLSMALLINT
*
NameLength1
,
SQLCHAR
*
Description
,
SQLSMALLINT
BufferLength2
,
SQLSMALLINT
*
NameLength2
)
{
...
...
@@ -1036,7 +1029,7 @@ SQLRETURN WINAPI ODBC32_SQLDataSourcesA(SQLHENV EnvironmentHandle, SQLUSMALLINT
/*************************************************************************
* SQLDescribeCol [ODBC32.008]
*/
SQLRETURN
WINAPI
ODBC32_
SQLDescribeCol
(
SQLHSTMT
StatementHandle
,
SQLUSMALLINT
ColumnNumber
,
SQLCHAR
*
ColumnName
,
SQLRETURN
WINAPI
SQLDescribeCol
(
SQLHSTMT
StatementHandle
,
SQLUSMALLINT
ColumnNumber
,
SQLCHAR
*
ColumnName
,
SQLSMALLINT
BufferLength
,
SQLSMALLINT
*
NameLength
,
SQLSMALLINT
*
DataType
,
SQLULEN
*
ColumnSize
,
SQLSMALLINT
*
DecimalDigits
,
SQLSMALLINT
*
Nullable
)
{
...
...
@@ -1068,7 +1061,7 @@ SQLRETURN WINAPI ODBC32_SQLDescribeCol(SQLHSTMT StatementHandle, SQLUSMALLINT Co
/*************************************************************************
* SQLDisconnect [ODBC32.009]
*/
SQLRETURN
WINAPI
ODBC32_
SQLDisconnect
(
SQLHDBC
ConnectionHandle
)
SQLRETURN
WINAPI
SQLDisconnect
(
SQLHDBC
ConnectionHandle
)
{
SQLRETURN
ret
;
...
...
@@ -1084,7 +1077,7 @@ SQLRETURN WINAPI ODBC32_SQLDisconnect(SQLHDBC ConnectionHandle)
/*************************************************************************
* SQLEndTran [ODBC32.029]
*/
SQLRETURN
WINAPI
ODBC32_
SQLEndTran
(
SQLSMALLINT
HandleType
,
SQLHANDLE
Handle
,
SQLSMALLINT
CompletionType
)
SQLRETURN
WINAPI
SQLEndTran
(
SQLSMALLINT
HandleType
,
SQLHANDLE
Handle
,
SQLSMALLINT
CompletionType
)
{
SQLRETURN
ret
;
...
...
@@ -1100,7 +1093,7 @@ SQLRETURN WINAPI ODBC32_SQLEndTran(SQLSMALLINT HandleType, SQLHANDLE Handle, SQL
/*************************************************************************
* SQLError [ODBC32.010]
*/
SQLRETURN
WINAPI
ODBC32_
SQLError
(
SQLHENV
EnvironmentHandle
,
SQLHDBC
ConnectionHandle
,
SQLHSTMT
StatementHandle
,
SQLRETURN
WINAPI
SQLError
(
SQLHENV
EnvironmentHandle
,
SQLHDBC
ConnectionHandle
,
SQLHSTMT
StatementHandle
,
SQLCHAR
*
Sqlstate
,
SQLINTEGER
*
NativeError
,
SQLCHAR
*
MessageText
,
SQLSMALLINT
BufferLength
,
SQLSMALLINT
*
TextLength
)
{
...
...
@@ -1129,7 +1122,7 @@ SQLRETURN WINAPI ODBC32_SQLError(SQLHENV EnvironmentHandle, SQLHDBC ConnectionHa
/*************************************************************************
* SQLExecDirect [ODBC32.011]
*/
SQLRETURN
WINAPI
ODBC32_
SQLExecDirect
(
SQLHSTMT
StatementHandle
,
SQLCHAR
*
StatementText
,
SQLINTEGER
TextLength
)
SQLRETURN
WINAPI
SQLExecDirect
(
SQLHSTMT
StatementHandle
,
SQLCHAR
*
StatementText
,
SQLINTEGER
TextLength
)
{
SQLRETURN
ret
;
...
...
@@ -1146,7 +1139,7 @@ SQLRETURN WINAPI ODBC32_SQLExecDirect(SQLHSTMT StatementHandle, SQLCHAR *Stateme
/*************************************************************************
* SQLExecute [ODBC32.012]
*/
SQLRETURN
WINAPI
ODBC32_
SQLExecute
(
SQLHSTMT
StatementHandle
)
SQLRETURN
WINAPI
SQLExecute
(
SQLHSTMT
StatementHandle
)
{
SQLRETURN
ret
;
...
...
@@ -1162,7 +1155,7 @@ SQLRETURN WINAPI ODBC32_SQLExecute(SQLHSTMT StatementHandle)
/*************************************************************************
* SQLFetch [ODBC32.013]
*/
SQLRETURN
WINAPI
ODBC32_
SQLFetch
(
SQLHSTMT
StatementHandle
)
SQLRETURN
WINAPI
SQLFetch
(
SQLHSTMT
StatementHandle
)
{
SQLRETURN
ret
;
...
...
@@ -1178,7 +1171,7 @@ SQLRETURN WINAPI ODBC32_SQLFetch(SQLHSTMT StatementHandle)
/*************************************************************************
* SQLFetchScroll [ODBC32.030]
*/
SQLRETURN
WINAPI
ODBC32_
SQLFetchScroll
(
SQLHSTMT
StatementHandle
,
SQLSMALLINT
FetchOrientation
,
SQLLEN
FetchOffset
)
SQLRETURN
WINAPI
SQLFetchScroll
(
SQLHSTMT
StatementHandle
,
SQLSMALLINT
FetchOrientation
,
SQLLEN
FetchOffset
)
{
SQLRETURN
ret
;
...
...
@@ -1195,7 +1188,7 @@ SQLRETURN WINAPI ODBC32_SQLFetchScroll(SQLHSTMT StatementHandle, SQLSMALLINT Fet
/*************************************************************************
* SQLFreeConnect [ODBC32.014]
*/
SQLRETURN
WINAPI
ODBC32_
SQLFreeConnect
(
SQLHDBC
ConnectionHandle
)
SQLRETURN
WINAPI
SQLFreeConnect
(
SQLHDBC
ConnectionHandle
)
{
SQLRETURN
ret
;
...
...
@@ -1211,7 +1204,7 @@ SQLRETURN WINAPI ODBC32_SQLFreeConnect(SQLHDBC ConnectionHandle)
/*************************************************************************
* SQLFreeEnv [ODBC32.015]
*/
SQLRETURN
WINAPI
ODBC32_
SQLFreeEnv
(
SQLHENV
EnvironmentHandle
)
SQLRETURN
WINAPI
SQLFreeEnv
(
SQLHENV
EnvironmentHandle
)
{
SQLRETURN
ret
;
...
...
@@ -1227,7 +1220,7 @@ SQLRETURN WINAPI ODBC32_SQLFreeEnv(SQLHENV EnvironmentHandle)
/*************************************************************************
* SQLFreeHandle [ODBC32.031]
*/
SQLRETURN
WINAPI
ODBC32_
SQLFreeHandle
(
SQLSMALLINT
HandleType
,
SQLHANDLE
Handle
)
SQLRETURN
WINAPI
SQLFreeHandle
(
SQLSMALLINT
HandleType
,
SQLHANDLE
Handle
)
{
SQLRETURN
ret
;
...
...
@@ -1243,7 +1236,7 @@ SQLRETURN WINAPI ODBC32_SQLFreeHandle(SQLSMALLINT HandleType, SQLHANDLE Handle)
/*************************************************************************
* SQLFreeStmt [ODBC32.016]
*/
SQLRETURN
WINAPI
ODBC32_
SQLFreeStmt
(
SQLHSTMT
StatementHandle
,
SQLUSMALLINT
Option
)
SQLRETURN
WINAPI
SQLFreeStmt
(
SQLHSTMT
StatementHandle
,
SQLUSMALLINT
Option
)
{
SQLRETURN
ret
;
...
...
@@ -1259,7 +1252,7 @@ SQLRETURN WINAPI ODBC32_SQLFreeStmt(SQLHSTMT StatementHandle, SQLUSMALLINT Optio
/*************************************************************************
* SQLGetConnectAttr [ODBC32.032]
*/
SQLRETURN
WINAPI
ODBC32_
SQLGetConnectAttr
(
SQLHDBC
ConnectionHandle
,
SQLINTEGER
Attribute
,
SQLPOINTER
Value
,
SQLRETURN
WINAPI
SQLGetConnectAttr
(
SQLHDBC
ConnectionHandle
,
SQLINTEGER
Attribute
,
SQLPOINTER
Value
,
SQLINTEGER
BufferLength
,
SQLINTEGER
*
StringLength
)
{
SQLRETURN
ret
;
...
...
@@ -1277,7 +1270,7 @@ SQLRETURN WINAPI ODBC32_SQLGetConnectAttr(SQLHDBC ConnectionHandle, SQLINTEGER A
/*************************************************************************
* SQLGetConnectOption [ODBC32.042]
*/
SQLRETURN
WINAPI
ODBC32_
SQLGetConnectOption
(
SQLHDBC
ConnectionHandle
,
SQLUSMALLINT
Option
,
SQLPOINTER
Value
)
SQLRETURN
WINAPI
SQLGetConnectOption
(
SQLHDBC
ConnectionHandle
,
SQLUSMALLINT
Option
,
SQLPOINTER
Value
)
{
SQLRETURN
ret
;
...
...
@@ -1293,7 +1286,7 @@ SQLRETURN WINAPI ODBC32_SQLGetConnectOption(SQLHDBC ConnectionHandle, SQLUSMALLI
/*************************************************************************
* SQLGetCursorName [ODBC32.017]
*/
SQLRETURN
WINAPI
ODBC32_
SQLGetCursorName
(
SQLHSTMT
StatementHandle
,
SQLCHAR
*
CursorName
,
SQLSMALLINT
BufferLength
,
SQLRETURN
WINAPI
SQLGetCursorName
(
SQLHSTMT
StatementHandle
,
SQLCHAR
*
CursorName
,
SQLSMALLINT
BufferLength
,
SQLSMALLINT
*
NameLength
)
{
SQLRETURN
ret
;
...
...
@@ -1311,7 +1304,7 @@ SQLRETURN WINAPI ODBC32_SQLGetCursorName(SQLHSTMT StatementHandle, SQLCHAR *Curs
/*************************************************************************
* SQLGetData [ODBC32.043]
*/
SQLRETURN
WINAPI
ODBC32_
SQLGetData
(
SQLHSTMT
StatementHandle
,
SQLUSMALLINT
ColumnNumber
,
SQLSMALLINT
TargetType
,
SQLRETURN
WINAPI
SQLGetData
(
SQLHSTMT
StatementHandle
,
SQLUSMALLINT
ColumnNumber
,
SQLSMALLINT
TargetType
,
SQLPOINTER
TargetValue
,
SQLLEN
BufferLength
,
SQLLEN
*
StrLen_or_Ind
)
{
SQLRETURN
ret
;
...
...
@@ -1329,7 +1322,7 @@ SQLRETURN WINAPI ODBC32_SQLGetData(SQLHSTMT StatementHandle, SQLUSMALLINT Column
/*************************************************************************
* SQLGetDescField [ODBC32.033]
*/
SQLRETURN
WINAPI
ODBC32_
SQLGetDescField
(
SQLHDESC
DescriptorHandle
,
SQLSMALLINT
RecNumber
,
SQLSMALLINT
FieldIdentifier
,
SQLRETURN
WINAPI
SQLGetDescField
(
SQLHDESC
DescriptorHandle
,
SQLSMALLINT
RecNumber
,
SQLSMALLINT
FieldIdentifier
,
SQLPOINTER
Value
,
SQLINTEGER
BufferLength
,
SQLINTEGER
*
StringLength
)
{
SQLRETURN
ret
;
...
...
@@ -1347,7 +1340,7 @@ SQLRETURN WINAPI ODBC32_SQLGetDescField(SQLHDESC DescriptorHandle, SQLSMALLINT R
/*************************************************************************
* SQLGetDescRec [ODBC32.034]
*/
SQLRETURN
WINAPI
ODBC32_
SQLGetDescRec
(
SQLHDESC
DescriptorHandle
,
SQLSMALLINT
RecNumber
,
SQLCHAR
*
Name
,
SQLRETURN
WINAPI
SQLGetDescRec
(
SQLHDESC
DescriptorHandle
,
SQLSMALLINT
RecNumber
,
SQLCHAR
*
Name
,
SQLSMALLINT
BufferLength
,
SQLSMALLINT
*
StringLength
,
SQLSMALLINT
*
Type
,
SQLSMALLINT
*
SubType
,
SQLLEN
*
Length
,
SQLSMALLINT
*
Precision
,
SQLSMALLINT
*
Scale
,
SQLSMALLINT
*
Nullable
)
...
...
@@ -1369,7 +1362,7 @@ SQLRETURN WINAPI ODBC32_SQLGetDescRec(SQLHDESC DescriptorHandle, SQLSMALLINT Rec
/*************************************************************************
* SQLGetDiagField [ODBC32.035]
*/
SQLRETURN
WINAPI
ODBC32_
SQLGetDiagField
(
SQLSMALLINT
HandleType
,
SQLHANDLE
Handle
,
SQLSMALLINT
RecNumber
,
SQLRETURN
WINAPI
SQLGetDiagField
(
SQLSMALLINT
HandleType
,
SQLHANDLE
Handle
,
SQLSMALLINT
RecNumber
,
SQLSMALLINT
DiagIdentifier
,
SQLPOINTER
DiagInfo
,
SQLSMALLINT
BufferLength
,
SQLSMALLINT
*
StringLength
)
{
...
...
@@ -1388,7 +1381,7 @@ SQLRETURN WINAPI ODBC32_SQLGetDiagField(SQLSMALLINT HandleType, SQLHANDLE Handle
/*************************************************************************
* SQLGetDiagRec [ODBC32.036]
*/
SQLRETURN
WINAPI
ODBC32_
SQLGetDiagRec
(
SQLSMALLINT
HandleType
,
SQLHANDLE
Handle
,
SQLSMALLINT
RecNumber
,
SQLRETURN
WINAPI
SQLGetDiagRec
(
SQLSMALLINT
HandleType
,
SQLHANDLE
Handle
,
SQLSMALLINT
RecNumber
,
SQLCHAR
*
Sqlstate
,
SQLINTEGER
*
NativeError
,
SQLCHAR
*
MessageText
,
SQLSMALLINT
BufferLength
,
SQLSMALLINT
*
TextLength
)
{
...
...
@@ -1408,7 +1401,7 @@ SQLRETURN WINAPI ODBC32_SQLGetDiagRec(SQLSMALLINT HandleType, SQLHANDLE Handle,
/*************************************************************************
* SQLGetEnvAttr [ODBC32.037]
*/
SQLRETURN
WINAPI
ODBC32_
SQLGetEnvAttr
(
SQLHENV
EnvironmentHandle
,
SQLINTEGER
Attribute
,
SQLPOINTER
Value
,
SQLRETURN
WINAPI
SQLGetEnvAttr
(
SQLHENV
EnvironmentHandle
,
SQLINTEGER
Attribute
,
SQLPOINTER
Value
,
SQLINTEGER
BufferLength
,
SQLINTEGER
*
StringLength
)
{
SQLRETURN
ret
;
...
...
@@ -1426,7 +1419,7 @@ SQLRETURN WINAPI ODBC32_SQLGetEnvAttr(SQLHENV EnvironmentHandle, SQLINTEGER Attr
/*************************************************************************
* SQLGetFunctions [ODBC32.044]
*/
SQLRETURN
WINAPI
ODBC32_
SQLGetFunctions
(
SQLHDBC
ConnectionHandle
,
SQLUSMALLINT
FunctionId
,
SQLUSMALLINT
*
Supported
)
SQLRETURN
WINAPI
SQLGetFunctions
(
SQLHDBC
ConnectionHandle
,
SQLUSMALLINT
FunctionId
,
SQLUSMALLINT
*
Supported
)
{
SQLRETURN
ret
;
...
...
@@ -1442,7 +1435,7 @@ SQLRETURN WINAPI ODBC32_SQLGetFunctions(SQLHDBC ConnectionHandle, SQLUSMALLINT F
/*************************************************************************
* SQLGetInfo [ODBC32.045]
*/
SQLRETURN
WINAPI
ODBC32_
SQLGetInfo
(
SQLHDBC
ConnectionHandle
,
SQLUSMALLINT
InfoType
,
SQLPOINTER
InfoValue
,
SQLRETURN
WINAPI
SQLGetInfo
(
SQLHDBC
ConnectionHandle
,
SQLUSMALLINT
InfoType
,
SQLPOINTER
InfoValue
,
SQLSMALLINT
BufferLength
,
SQLSMALLINT
*
StringLength
)
{
SQLRETURN
ret
;
...
...
@@ -1466,7 +1459,7 @@ SQLRETURN WINAPI ODBC32_SQLGetInfo(SQLHDBC ConnectionHandle, SQLUSMALLINT InfoTy
/*************************************************************************
* SQLGetStmtAttr [ODBC32.038]
*/
SQLRETURN
WINAPI
ODBC32_
SQLGetStmtAttr
(
SQLHSTMT
StatementHandle
,
SQLINTEGER
Attribute
,
SQLPOINTER
Value
,
SQLRETURN
WINAPI
SQLGetStmtAttr
(
SQLHSTMT
StatementHandle
,
SQLINTEGER
Attribute
,
SQLPOINTER
Value
,
SQLINTEGER
BufferLength
,
SQLINTEGER
*
StringLength
)
{
SQLRETURN
ret
;
...
...
@@ -1490,7 +1483,7 @@ SQLRETURN WINAPI ODBC32_SQLGetStmtAttr(SQLHSTMT StatementHandle, SQLINTEGER Attr
/*************************************************************************
* SQLGetStmtOption [ODBC32.046]
*/
SQLRETURN
WINAPI
ODBC32_
SQLGetStmtOption
(
SQLHSTMT
StatementHandle
,
SQLUSMALLINT
Option
,
SQLPOINTER
Value
)
SQLRETURN
WINAPI
SQLGetStmtOption
(
SQLHSTMT
StatementHandle
,
SQLUSMALLINT
Option
,
SQLPOINTER
Value
)
{
SQLRETURN
ret
;
...
...
@@ -1506,7 +1499,7 @@ SQLRETURN WINAPI ODBC32_SQLGetStmtOption(SQLHSTMT StatementHandle, SQLUSMALLINT
/*************************************************************************
* SQLGetTypeInfo [ODBC32.047]
*/
SQLRETURN
WINAPI
ODBC32_
SQLGetTypeInfo
(
SQLHSTMT
StatementHandle
,
SQLSMALLINT
DataType
)
SQLRETURN
WINAPI
SQLGetTypeInfo
(
SQLHSTMT
StatementHandle
,
SQLSMALLINT
DataType
)
{
SQLRETURN
ret
;
...
...
@@ -1522,7 +1515,7 @@ SQLRETURN WINAPI ODBC32_SQLGetTypeInfo(SQLHSTMT StatementHandle, SQLSMALLINT Dat
/*************************************************************************
* SQLNumResultCols [ODBC32.018]
*/
SQLRETURN
WINAPI
ODBC32_
SQLNumResultCols
(
SQLHSTMT
StatementHandle
,
SQLSMALLINT
*
ColumnCount
)
SQLRETURN
WINAPI
SQLNumResultCols
(
SQLHSTMT
StatementHandle
,
SQLSMALLINT
*
ColumnCount
)
{
SQLRETURN
ret
;
...
...
@@ -1538,7 +1531,7 @@ SQLRETURN WINAPI ODBC32_SQLNumResultCols(SQLHSTMT StatementHandle, SQLSMALLINT *
/*************************************************************************
* SQLParamData [ODBC32.048]
*/
SQLRETURN
WINAPI
ODBC32_
SQLParamData
(
SQLHSTMT
StatementHandle
,
SQLPOINTER
*
Value
)
SQLRETURN
WINAPI
SQLParamData
(
SQLHSTMT
StatementHandle
,
SQLPOINTER
*
Value
)
{
SQLRETURN
ret
;
...
...
@@ -1554,7 +1547,7 @@ SQLRETURN WINAPI ODBC32_SQLParamData(SQLHSTMT StatementHandle, SQLPOINTER *Value
/*************************************************************************
* SQLPrepare [ODBC32.019]
*/
SQLRETURN
WINAPI
ODBC32_
SQLPrepare
(
SQLHSTMT
StatementHandle
,
SQLCHAR
*
StatementText
,
SQLINTEGER
TextLength
)
SQLRETURN
WINAPI
SQLPrepare
(
SQLHSTMT
StatementHandle
,
SQLCHAR
*
StatementText
,
SQLINTEGER
TextLength
)
{
SQLRETURN
ret
;
...
...
@@ -1571,7 +1564,7 @@ SQLRETURN WINAPI ODBC32_SQLPrepare(SQLHSTMT StatementHandle, SQLCHAR *StatementT
/*************************************************************************
* SQLPutData [ODBC32.049]
*/
SQLRETURN
WINAPI
ODBC32_
SQLPutData
(
SQLHSTMT
StatementHandle
,
SQLPOINTER
Data
,
SQLLEN
StrLen_or_Ind
)
SQLRETURN
WINAPI
SQLPutData
(
SQLHSTMT
StatementHandle
,
SQLPOINTER
Data
,
SQLLEN
StrLen_or_Ind
)
{
SQLRETURN
ret
;
...
...
@@ -1587,7 +1580,7 @@ SQLRETURN WINAPI ODBC32_SQLPutData(SQLHSTMT StatementHandle, SQLPOINTER Data, SQ
/*************************************************************************
* SQLRowCount [ODBC32.020]
*/
SQLRETURN
WINAPI
ODBC32_
SQLRowCount
(
SQLHSTMT
StatementHandle
,
SQLLEN
*
RowCount
)
SQLRETURN
WINAPI
SQLRowCount
(
SQLHSTMT
StatementHandle
,
SQLLEN
*
RowCount
)
{
SQLRETURN
ret
;
...
...
@@ -1604,7 +1597,7 @@ SQLRETURN WINAPI ODBC32_SQLRowCount(SQLHSTMT StatementHandle, SQLLEN *RowCount)
/*************************************************************************
* SQLSetConnectAttr [ODBC32.039]
*/
SQLRETURN
WINAPI
ODBC32_
SQLSetConnectAttr
(
SQLHDBC
ConnectionHandle
,
SQLINTEGER
Attribute
,
SQLPOINTER
Value
,
SQLRETURN
WINAPI
SQLSetConnectAttr
(
SQLHDBC
ConnectionHandle
,
SQLINTEGER
Attribute
,
SQLPOINTER
Value
,
SQLINTEGER
StringLength
)
{
SQLRETURN
ret
;
...
...
@@ -1622,7 +1615,7 @@ SQLRETURN WINAPI ODBC32_SQLSetConnectAttr(SQLHDBC ConnectionHandle, SQLINTEGER A
/*************************************************************************
* SQLSetConnectOption [ODBC32.050]
*/
SQLRETURN
WINAPI
ODBC32_
SQLSetConnectOption
(
SQLHDBC
ConnectionHandle
,
SQLUSMALLINT
Option
,
SQLULEN
Value
)
SQLRETURN
WINAPI
SQLSetConnectOption
(
SQLHDBC
ConnectionHandle
,
SQLUSMALLINT
Option
,
SQLULEN
Value
)
{
SQLRETURN
ret
;
...
...
@@ -1638,7 +1631,7 @@ SQLRETURN WINAPI ODBC32_SQLSetConnectOption(SQLHDBC ConnectionHandle, SQLUSMALLI
/*************************************************************************
* SQLSetCursorName [ODBC32.021]
*/
SQLRETURN
WINAPI
ODBC32_
SQLSetCursorName
(
SQLHSTMT
StatementHandle
,
SQLCHAR
*
CursorName
,
SQLSMALLINT
NameLength
)
SQLRETURN
WINAPI
SQLSetCursorName
(
SQLHSTMT
StatementHandle
,
SQLCHAR
*
CursorName
,
SQLSMALLINT
NameLength
)
{
SQLRETURN
ret
;
...
...
@@ -1655,7 +1648,7 @@ SQLRETURN WINAPI ODBC32_SQLSetCursorName(SQLHSTMT StatementHandle, SQLCHAR *Curs
/*************************************************************************
* SQLSetDescField [ODBC32.073]
*/
SQLRETURN
WINAPI
ODBC32_
SQLSetDescField
(
SQLHDESC
DescriptorHandle
,
SQLSMALLINT
RecNumber
,
SQLSMALLINT
FieldIdentifier
,
SQLRETURN
WINAPI
SQLSetDescField
(
SQLHDESC
DescriptorHandle
,
SQLSMALLINT
RecNumber
,
SQLSMALLINT
FieldIdentifier
,
SQLPOINTER
Value
,
SQLINTEGER
BufferLength
)
{
SQLRETURN
ret
;
...
...
@@ -1673,7 +1666,7 @@ SQLRETURN WINAPI ODBC32_SQLSetDescField(SQLHDESC DescriptorHandle, SQLSMALLINT R
/*************************************************************************
* SQLSetDescRec [ODBC32.074]
*/
SQLRETURN
WINAPI
ODBC32_
SQLSetDescRec
(
SQLHDESC
DescriptorHandle
,
SQLSMALLINT
RecNumber
,
SQLSMALLINT
Type
,
SQLRETURN
WINAPI
SQLSetDescRec
(
SQLHDESC
DescriptorHandle
,
SQLSMALLINT
RecNumber
,
SQLSMALLINT
Type
,
SQLSMALLINT
SubType
,
SQLLEN
Length
,
SQLSMALLINT
Precision
,
SQLSMALLINT
Scale
,
SQLPOINTER
Data
,
SQLLEN
*
StringLength
,
SQLLEN
*
Indicator
)
{
...
...
@@ -1694,7 +1687,7 @@ SQLRETURN WINAPI ODBC32_SQLSetDescRec(SQLHDESC DescriptorHandle, SQLSMALLINT Rec
/*************************************************************************
* SQLSetEnvAttr [ODBC32.075]
*/
SQLRETURN
WINAPI
ODBC32_
SQLSetEnvAttr
(
SQLHENV
EnvironmentHandle
,
SQLINTEGER
Attribute
,
SQLPOINTER
Value
,
SQLRETURN
WINAPI
SQLSetEnvAttr
(
SQLHENV
EnvironmentHandle
,
SQLINTEGER
Attribute
,
SQLPOINTER
Value
,
SQLINTEGER
StringLength
)
{
SQLRETURN
ret
;
...
...
@@ -1712,7 +1705,7 @@ SQLRETURN WINAPI ODBC32_SQLSetEnvAttr(SQLHENV EnvironmentHandle, SQLINTEGER Attr
/*************************************************************************
* SQLSetParam [ODBC32.022]
*/
SQLRETURN
WINAPI
ODBC32_
SQLSetParam
(
SQLHSTMT
StatementHandle
,
SQLUSMALLINT
ParameterNumber
,
SQLSMALLINT
ValueType
,
SQLRETURN
WINAPI
SQLSetParam
(
SQLHSTMT
StatementHandle
,
SQLUSMALLINT
ParameterNumber
,
SQLSMALLINT
ValueType
,
SQLSMALLINT
ParameterType
,
SQLULEN
LengthPrecision
,
SQLSMALLINT
ParameterScale
,
SQLPOINTER
ParameterValue
,
SQLLEN
*
StrLen_or_Ind
)
{
...
...
@@ -1733,7 +1726,7 @@ SQLRETURN WINAPI ODBC32_SQLSetParam(SQLHSTMT StatementHandle, SQLUSMALLINT Param
/*************************************************************************
* SQLSetStmtAttr [ODBC32.076]
*/
SQLRETURN
WINAPI
ODBC32_
SQLSetStmtAttr
(
SQLHSTMT
StatementHandle
,
SQLINTEGER
Attribute
,
SQLPOINTER
Value
,
SQLRETURN
WINAPI
SQLSetStmtAttr
(
SQLHSTMT
StatementHandle
,
SQLINTEGER
Attribute
,
SQLPOINTER
Value
,
SQLINTEGER
StringLength
)
{
SQLRETURN
ret
;
...
...
@@ -1751,7 +1744,7 @@ SQLRETURN WINAPI ODBC32_SQLSetStmtAttr(SQLHSTMT StatementHandle, SQLINTEGER Attr
/*************************************************************************
* SQLSetStmtOption [ODBC32.051]
*/
SQLRETURN
WINAPI
ODBC32_
SQLSetStmtOption
(
SQLHSTMT
StatementHandle
,
SQLUSMALLINT
Option
,
SQLULEN
Value
)
SQLRETURN
WINAPI
SQLSetStmtOption
(
SQLHSTMT
StatementHandle
,
SQLUSMALLINT
Option
,
SQLULEN
Value
)
{
SQLRETURN
ret
;
...
...
@@ -1767,7 +1760,7 @@ SQLRETURN WINAPI ODBC32_SQLSetStmtOption(SQLHSTMT StatementHandle, SQLUSMALLINT
/*************************************************************************
* SQLSpecialColumns [ODBC32.052]
*/
SQLRETURN
WINAPI
ODBC32_
SQLSpecialColumns
(
SQLHSTMT
StatementHandle
,
SQLUSMALLINT
IdentifierType
,
SQLCHAR
*
CatalogName
,
SQLRETURN
WINAPI
SQLSpecialColumns
(
SQLHSTMT
StatementHandle
,
SQLUSMALLINT
IdentifierType
,
SQLCHAR
*
CatalogName
,
SQLSMALLINT
NameLength1
,
SQLCHAR
*
SchemaName
,
SQLSMALLINT
NameLength2
,
SQLCHAR
*
TableName
,
SQLSMALLINT
NameLength3
,
SQLUSMALLINT
Scope
,
SQLUSMALLINT
Nullable
)
...
...
@@ -1791,7 +1784,7 @@ SQLRETURN WINAPI ODBC32_SQLSpecialColumns(SQLHSTMT StatementHandle, SQLUSMALLINT
/*************************************************************************
* SQLStatistics [ODBC32.053]
*/
SQLRETURN
WINAPI
ODBC32_
SQLStatistics
(
SQLHSTMT
StatementHandle
,
SQLCHAR
*
CatalogName
,
SQLSMALLINT
NameLength1
,
SQLRETURN
WINAPI
SQLStatistics
(
SQLHSTMT
StatementHandle
,
SQLCHAR
*
CatalogName
,
SQLSMALLINT
NameLength1
,
SQLCHAR
*
SchemaName
,
SQLSMALLINT
NameLength2
,
SQLCHAR
*
TableName
,
SQLSMALLINT
NameLength3
,
SQLUSMALLINT
Unique
,
SQLUSMALLINT
Reserved
)
{
...
...
@@ -1814,7 +1807,7 @@ SQLRETURN WINAPI ODBC32_SQLStatistics(SQLHSTMT StatementHandle, SQLCHAR *Catalog
/*************************************************************************
* SQLTables [ODBC32.054]
*/
SQLRETURN
WINAPI
ODBC32_
SQLTables
(
SQLHSTMT
StatementHandle
,
SQLCHAR
*
CatalogName
,
SQLSMALLINT
NameLength1
,
SQLRETURN
WINAPI
SQLTables
(
SQLHSTMT
StatementHandle
,
SQLCHAR
*
CatalogName
,
SQLSMALLINT
NameLength1
,
SQLCHAR
*
SchemaName
,
SQLSMALLINT
NameLength2
,
SQLCHAR
*
TableName
,
SQLSMALLINT
NameLength3
,
SQLCHAR
*
TableType
,
SQLSMALLINT
NameLength4
)
{
...
...
@@ -1838,7 +1831,7 @@ SQLRETURN WINAPI ODBC32_SQLTables(SQLHSTMT StatementHandle, SQLCHAR *CatalogName
/*************************************************************************
* SQLTransact [ODBC32.023]
*/
SQLRETURN
WINAPI
ODBC32_
SQLTransact
(
SQLHENV
EnvironmentHandle
,
SQLHDBC
ConnectionHandle
,
SQLUSMALLINT
CompletionType
)
SQLRETURN
WINAPI
SQLTransact
(
SQLHENV
EnvironmentHandle
,
SQLHDBC
ConnectionHandle
,
SQLUSMALLINT
CompletionType
)
{
SQLRETURN
ret
;
...
...
@@ -1855,7 +1848,7 @@ SQLRETURN WINAPI ODBC32_SQLTransact(SQLHENV EnvironmentHandle, SQLHDBC Connectio
/*************************************************************************
* SQLBrowseConnect [ODBC32.055]
*/
SQLRETURN
WINAPI
ODBC32_
SQLBrowseConnect
(
SQLHDBC
hdbc
,
SQLCHAR
*
szConnStrIn
,
SQLSMALLINT
cbConnStrIn
,
SQLRETURN
WINAPI
SQLBrowseConnect
(
SQLHDBC
hdbc
,
SQLCHAR
*
szConnStrIn
,
SQLSMALLINT
cbConnStrIn
,
SQLCHAR
*
szConnStrOut
,
SQLSMALLINT
cbConnStrOutMax
,
SQLSMALLINT
*
pcbConnStrOut
)
{
...
...
@@ -1875,7 +1868,7 @@ SQLRETURN WINAPI ODBC32_SQLBrowseConnect(SQLHDBC hdbc, SQLCHAR *szConnStrIn, SQL
/*************************************************************************
* SQLBulkOperations [ODBC32.078]
*/
SQLRETURN
WINAPI
ODBC32_
SQLBulkOperations
(
SQLHSTMT
StatementHandle
,
SQLSMALLINT
Operation
)
SQLRETURN
WINAPI
SQLBulkOperations
(
SQLHSTMT
StatementHandle
,
SQLSMALLINT
Operation
)
{
SQLRETURN
ret
;
...
...
@@ -1891,7 +1884,7 @@ SQLRETURN WINAPI ODBC32_SQLBulkOperations(SQLHSTMT StatementHandle, SQLSMALLINT
/*************************************************************************
* SQLColAttributes [ODBC32.006]
*/
SQLRETURN
WINAPI
ODBC32_
SQLColAttributes
(
SQLHSTMT
hstmt
,
SQLUSMALLINT
icol
,
SQLUSMALLINT
fDescType
,
SQLRETURN
WINAPI
SQLColAttributes
(
SQLHSTMT
hstmt
,
SQLUSMALLINT
icol
,
SQLUSMALLINT
fDescType
,
SQLPOINTER
rgbDesc
,
SQLSMALLINT
cbDescMax
,
SQLSMALLINT
*
pcbDesc
,
SQLLEN
*
pfDesc
)
{
...
...
@@ -1910,7 +1903,7 @@ SQLRETURN WINAPI ODBC32_SQLColAttributes(SQLHSTMT hstmt, SQLUSMALLINT icol, SQLU
/*************************************************************************
* SQLColumnPrivileges [ODBC32.056]
*/
SQLRETURN
WINAPI
ODBC32_
SQLColumnPrivileges
(
SQLHSTMT
hstmt
,
SQLCHAR
*
szCatalogName
,
SQLSMALLINT
cbCatalogName
,
SQLRETURN
WINAPI
SQLColumnPrivileges
(
SQLHSTMT
hstmt
,
SQLCHAR
*
szCatalogName
,
SQLSMALLINT
cbCatalogName
,
SQLCHAR
*
szSchemaName
,
SQLSMALLINT
cbSchemaName
,
SQLCHAR
*
szTableName
,
SQLSMALLINT
cbTableName
,
SQLCHAR
*
szColumnName
,
SQLSMALLINT
cbColumnName
)
{
...
...
@@ -1934,7 +1927,7 @@ SQLRETURN WINAPI ODBC32_SQLColumnPrivileges(SQLHSTMT hstmt, SQLCHAR *szCatalogNa
/*************************************************************************
* SQLDescribeParam [ODBC32.058]
*/
SQLRETURN
WINAPI
ODBC32_
SQLDescribeParam
(
SQLHSTMT
hstmt
,
SQLUSMALLINT
ipar
,
SQLSMALLINT
*
pfSqlType
,
SQLRETURN
WINAPI
SQLDescribeParam
(
SQLHSTMT
hstmt
,
SQLUSMALLINT
ipar
,
SQLSMALLINT
*
pfSqlType
,
SQLULEN
*
pcbParamDef
,
SQLSMALLINT
*
pibScale
,
SQLSMALLINT
*
pfNullable
)
{
SQLRETURN
ret
;
...
...
@@ -1952,7 +1945,7 @@ SQLRETURN WINAPI ODBC32_SQLDescribeParam(SQLHSTMT hstmt, SQLUSMALLINT ipar, SQLS
/*************************************************************************
* SQLExtendedFetch [ODBC32.059]
*/
SQLRETURN
WINAPI
ODBC32_
SQLExtendedFetch
(
SQLHSTMT
hstmt
,
SQLUSMALLINT
fFetchType
,
SQLLEN
irow
,
SQLULEN
*
pcrow
,
SQLRETURN
WINAPI
SQLExtendedFetch
(
SQLHSTMT
hstmt
,
SQLUSMALLINT
fFetchType
,
SQLLEN
irow
,
SQLULEN
*
pcrow
,
SQLUSMALLINT
*
rgfRowStatus
)
{
SQLRETURN
ret
;
...
...
@@ -1970,7 +1963,7 @@ SQLRETURN WINAPI ODBC32_SQLExtendedFetch(SQLHSTMT hstmt, SQLUSMALLINT fFetchType
/*************************************************************************
* SQLForeignKeys [ODBC32.060]
*/
SQLRETURN
WINAPI
ODBC32_
SQLForeignKeys
(
SQLHSTMT
hstmt
,
SQLCHAR
*
szPkCatalogName
,
SQLSMALLINT
cbPkCatalogName
,
SQLRETURN
WINAPI
SQLForeignKeys
(
SQLHSTMT
hstmt
,
SQLCHAR
*
szPkCatalogName
,
SQLSMALLINT
cbPkCatalogName
,
SQLCHAR
*
szPkSchemaName
,
SQLSMALLINT
cbPkSchemaName
,
SQLCHAR
*
szPkTableName
,
SQLSMALLINT
cbPkTableName
,
SQLCHAR
*
szFkCatalogName
,
SQLSMALLINT
cbFkCatalogName
,
SQLCHAR
*
szFkSchemaName
,
...
...
@@ -2000,7 +1993,7 @@ SQLRETURN WINAPI ODBC32_SQLForeignKeys(SQLHSTMT hstmt, SQLCHAR *szPkCatalogName,
/*************************************************************************
* SQLMoreResults [ODBC32.061]
*/
SQLRETURN
WINAPI
ODBC32_
SQLMoreResults
(
SQLHSTMT
StatementHandle
)
SQLRETURN
WINAPI
SQLMoreResults
(
SQLHSTMT
StatementHandle
)
{
SQLRETURN
ret
;
...
...
@@ -2016,7 +2009,7 @@ SQLRETURN WINAPI ODBC32_SQLMoreResults(SQLHSTMT StatementHandle)
/*************************************************************************
* SQLNativeSql [ODBC32.062]
*/
SQLRETURN
WINAPI
ODBC32_
SQLNativeSql
(
SQLHDBC
hdbc
,
SQLCHAR
*
szSqlStrIn
,
SQLINTEGER
cbSqlStrIn
,
SQLCHAR
*
szSqlStr
,
SQLRETURN
WINAPI
SQLNativeSql
(
SQLHDBC
hdbc
,
SQLCHAR
*
szSqlStrIn
,
SQLINTEGER
cbSqlStrIn
,
SQLCHAR
*
szSqlStr
,
SQLINTEGER
cbSqlStrMax
,
SQLINTEGER
*
pcbSqlStr
)
{
SQLRETURN
ret
;
...
...
@@ -2034,7 +2027,7 @@ SQLRETURN WINAPI ODBC32_SQLNativeSql(SQLHDBC hdbc, SQLCHAR *szSqlStrIn, SQLINTEG
/*************************************************************************
* SQLNumParams [ODBC32.063]
*/
SQLRETURN
WINAPI
ODBC32_
SQLNumParams
(
SQLHSTMT
hstmt
,
SQLSMALLINT
*
pcpar
)
SQLRETURN
WINAPI
SQLNumParams
(
SQLHSTMT
hstmt
,
SQLSMALLINT
*
pcpar
)
{
SQLRETURN
ret
;
...
...
@@ -2050,7 +2043,7 @@ SQLRETURN WINAPI ODBC32_SQLNumParams(SQLHSTMT hstmt, SQLSMALLINT *pcpar)
/*************************************************************************
* SQLParamOptions [ODBC32.064]
*/
SQLRETURN
WINAPI
ODBC32_
SQLParamOptions
(
SQLHSTMT
hstmt
,
SQLULEN
crow
,
SQLULEN
*
pirow
)
SQLRETURN
WINAPI
SQLParamOptions
(
SQLHSTMT
hstmt
,
SQLULEN
crow
,
SQLULEN
*
pirow
)
{
SQLRETURN
ret
;
...
...
@@ -2066,7 +2059,7 @@ SQLRETURN WINAPI ODBC32_SQLParamOptions(SQLHSTMT hstmt, SQLULEN crow, SQLULEN *p
/*************************************************************************
* SQLPrimaryKeys [ODBC32.065]
*/
SQLRETURN
WINAPI
ODBC32_
SQLPrimaryKeys
(
SQLHSTMT
hstmt
,
SQLCHAR
*
szCatalogName
,
SQLSMALLINT
cbCatalogName
,
SQLRETURN
WINAPI
SQLPrimaryKeys
(
SQLHSTMT
hstmt
,
SQLCHAR
*
szCatalogName
,
SQLSMALLINT
cbCatalogName
,
SQLCHAR
*
szSchemaName
,
SQLSMALLINT
cbSchemaName
,
SQLCHAR
*
szTableName
,
SQLSMALLINT
cbTableName
)
{
...
...
@@ -2088,7 +2081,7 @@ SQLRETURN WINAPI ODBC32_SQLPrimaryKeys(SQLHSTMT hstmt, SQLCHAR *szCatalogName, S
/*************************************************************************
* SQLProcedureColumns [ODBC32.066]
*/
SQLRETURN
WINAPI
ODBC32_
SQLProcedureColumns
(
SQLHSTMT
hstmt
,
SQLCHAR
*
szCatalogName
,
SQLSMALLINT
cbCatalogName
,
SQLRETURN
WINAPI
SQLProcedureColumns
(
SQLHSTMT
hstmt
,
SQLCHAR
*
szCatalogName
,
SQLSMALLINT
cbCatalogName
,
SQLCHAR
*
szSchemaName
,
SQLSMALLINT
cbSchemaName
,
SQLCHAR
*
szProcName
,
SQLSMALLINT
cbProcName
,
SQLCHAR
*
szColumnName
,
SQLSMALLINT
cbColumnName
)
{
...
...
@@ -2112,7 +2105,7 @@ SQLRETURN WINAPI ODBC32_SQLProcedureColumns(SQLHSTMT hstmt, SQLCHAR *szCatalogNa
/*************************************************************************
* SQLProcedures [ODBC32.067]
*/
SQLRETURN
WINAPI
ODBC32_
SQLProcedures
(
SQLHSTMT
hstmt
,
SQLCHAR
*
szCatalogName
,
SQLSMALLINT
cbCatalogName
,
SQLRETURN
WINAPI
SQLProcedures
(
SQLHSTMT
hstmt
,
SQLCHAR
*
szCatalogName
,
SQLSMALLINT
cbCatalogName
,
SQLCHAR
*
szSchemaName
,
SQLSMALLINT
cbSchemaName
,
SQLCHAR
*
szProcName
,
SQLSMALLINT
cbProcName
)
{
...
...
@@ -2134,7 +2127,7 @@ SQLRETURN WINAPI ODBC32_SQLProcedures(SQLHSTMT hstmt, SQLCHAR *szCatalogName, SQ
/*************************************************************************
* SQLSetPos [ODBC32.068]
*/
SQLRETURN
WINAPI
ODBC32_
SQLSetPos
(
SQLHSTMT
hstmt
,
SQLSETPOSIROW
irow
,
SQLUSMALLINT
fOption
,
SQLUSMALLINT
fLock
)
SQLRETURN
WINAPI
SQLSetPos
(
SQLHSTMT
hstmt
,
SQLSETPOSIROW
irow
,
SQLUSMALLINT
fOption
,
SQLUSMALLINT
fLock
)
{
SQLRETURN
ret
;
...
...
@@ -2150,7 +2143,7 @@ SQLRETURN WINAPI ODBC32_SQLSetPos(SQLHSTMT hstmt, SQLSETPOSIROW irow, SQLUSMALLI
/*************************************************************************
* SQLTablePrivileges [ODBC32.070]
*/
SQLRETURN
WINAPI
ODBC32_
SQLTablePrivileges
(
SQLHSTMT
hstmt
,
SQLCHAR
*
szCatalogName
,
SQLSMALLINT
cbCatalogName
,
SQLRETURN
WINAPI
SQLTablePrivileges
(
SQLHSTMT
hstmt
,
SQLCHAR
*
szCatalogName
,
SQLSMALLINT
cbCatalogName
,
SQLCHAR
*
szSchemaName
,
SQLSMALLINT
cbSchemaName
,
SQLCHAR
*
szTableName
,
SQLSMALLINT
cbTableName
)
{
...
...
@@ -2173,7 +2166,7 @@ SQLRETURN WINAPI ODBC32_SQLTablePrivileges(SQLHSTMT hstmt, SQLCHAR *szCatalogNam
/*************************************************************************
* SQLDrivers [ODBC32.071]
*/
SQLRETURN
WINAPI
ODBC32_
SQLDrivers
(
SQLHENV
EnvironmentHandle
,
SQLUSMALLINT
fDirection
,
SQLCHAR
*
szDriverDesc
,
SQLRETURN
WINAPI
SQLDrivers
(
SQLHENV
EnvironmentHandle
,
SQLUSMALLINT
fDirection
,
SQLCHAR
*
szDriverDesc
,
SQLSMALLINT
cbDriverDescMax
,
SQLSMALLINT
*
pcbDriverDesc
,
SQLCHAR
*
szDriverAttributes
,
SQLSMALLINT
cbDriverAttrMax
,
SQLSMALLINT
*
pcbDriverAttr
)
...
...
@@ -2199,7 +2192,7 @@ SQLRETURN WINAPI ODBC32_SQLDrivers(SQLHENV EnvironmentHandle, SQLUSMALLINT fDire
/*************************************************************************
* SQLBindParameter [ODBC32.072]
*/
SQLRETURN
WINAPI
ODBC32_
SQLBindParameter
(
SQLHSTMT
hstmt
,
SQLUSMALLINT
ipar
,
SQLSMALLINT
fParamType
,
SQLRETURN
WINAPI
SQLBindParameter
(
SQLHSTMT
hstmt
,
SQLUSMALLINT
ipar
,
SQLSMALLINT
fParamType
,
SQLSMALLINT
fCType
,
SQLSMALLINT
fSqlType
,
SQLULEN
cbColDef
,
SQLSMALLINT
ibScale
,
SQLPOINTER
rgbValue
,
SQLLEN
cbValueMax
,
SQLLEN
*
pcbValue
)
...
...
@@ -2221,7 +2214,7 @@ SQLRETURN WINAPI ODBC32_SQLBindParameter(SQLHSTMT hstmt, SQLUSMALLINT ipar, SQLS
/*************************************************************************
* SQLDriverConnect [ODBC32.041]
*/
SQLRETURN
WINAPI
ODBC32_
SQLDriverConnect
(
SQLHDBC
hdbc
,
SQLHWND
hwnd
,
SQLCHAR
*
ConnectionString
,
SQLSMALLINT
Length
,
SQLRETURN
WINAPI
SQLDriverConnect
(
SQLHDBC
hdbc
,
SQLHWND
hwnd
,
SQLCHAR
*
ConnectionString
,
SQLSMALLINT
Length
,
SQLCHAR
*
conn_str_out
,
SQLSMALLINT
conn_str_out_max
,
SQLSMALLINT
*
ptr_conn_str_out
,
SQLUSMALLINT
driver_completion
)
{
...
...
@@ -2243,7 +2236,7 @@ SQLRETURN WINAPI ODBC32_SQLDriverConnect(SQLHDBC hdbc, SQLHWND hwnd, SQLCHAR *Co
/*************************************************************************
* SQLSetScrollOptions [ODBC32.069]
*/
SQLRETURN
WINAPI
ODBC32_
SQLSetScrollOptions
(
SQLHSTMT
statement_handle
,
SQLUSMALLINT
f_concurrency
,
SQLLEN
crow_keyset
,
SQLRETURN
WINAPI
SQLSetScrollOptions
(
SQLHSTMT
statement_handle
,
SQLUSMALLINT
f_concurrency
,
SQLLEN
crow_keyset
,
SQLUSMALLINT
crow_rowset
)
{
SQLRETURN
ret
;
...
...
@@ -2291,7 +2284,7 @@ static BOOL SQLColAttributes_KnownStringAttribute(SQLUSMALLINT fDescType)
/*************************************************************************
* SQLColAttributesW [ODBC32.106]
*/
SQLRETURN
WINAPI
ODBC32_
SQLColAttributesW
(
SQLHSTMT
hstmt
,
SQLUSMALLINT
icol
,
SQLUSMALLINT
fDescType
,
SQLRETURN
WINAPI
SQLColAttributesW
(
SQLHSTMT
hstmt
,
SQLUSMALLINT
icol
,
SQLUSMALLINT
fDescType
,
SQLPOINTER
rgbDesc
,
SQLSMALLINT
cbDescMax
,
SQLSMALLINT
*
pcbDesc
,
SQLLEN
*
pfDesc
)
{
...
...
@@ -2318,7 +2311,7 @@ SQLRETURN WINAPI ODBC32_SQLColAttributesW(SQLHSTMT hstmt, SQLUSMALLINT icol, SQL
/*************************************************************************
* SQLConnectW [ODBC32.107]
*/
SQLRETURN
WINAPI
ODBC32_
SQLConnectW
(
SQLHDBC
ConnectionHandle
,
WCHAR
*
ServerName
,
SQLSMALLINT
NameLength1
,
SQLRETURN
WINAPI
SQLConnectW
(
SQLHDBC
ConnectionHandle
,
WCHAR
*
ServerName
,
SQLSMALLINT
NameLength1
,
WCHAR
*
UserName
,
SQLSMALLINT
NameLength2
,
WCHAR
*
Authentication
,
SQLSMALLINT
NameLength3
)
{
...
...
@@ -2338,7 +2331,7 @@ SQLRETURN WINAPI ODBC32_SQLConnectW(SQLHDBC ConnectionHandle, WCHAR *ServerName,
/*************************************************************************
* SQLDescribeColW [ODBC32.108]
*/
SQLRETURN
WINAPI
ODBC32_
SQLDescribeColW
(
SQLHSTMT
StatementHandle
,
SQLUSMALLINT
ColumnNumber
,
WCHAR
*
ColumnName
,
SQLRETURN
WINAPI
SQLDescribeColW
(
SQLHSTMT
StatementHandle
,
SQLUSMALLINT
ColumnNumber
,
WCHAR
*
ColumnName
,
SQLSMALLINT
BufferLength
,
SQLSMALLINT
*
NameLength
,
SQLSMALLINT
*
DataType
,
SQLULEN
*
ColumnSize
,
SQLSMALLINT
*
DecimalDigits
,
SQLSMALLINT
*
Nullable
)
{
...
...
@@ -2370,7 +2363,7 @@ SQLRETURN WINAPI ODBC32_SQLDescribeColW(SQLHSTMT StatementHandle, SQLUSMALLINT C
/*************************************************************************
* SQLErrorW [ODBC32.110]
*/
SQLRETURN
WINAPI
ODBC32_
SQLErrorW
(
SQLHENV
EnvironmentHandle
,
SQLHDBC
ConnectionHandle
,
SQLHSTMT
StatementHandle
,
SQLRETURN
WINAPI
SQLErrorW
(
SQLHENV
EnvironmentHandle
,
SQLHDBC
ConnectionHandle
,
SQLHSTMT
StatementHandle
,
WCHAR
*
Sqlstate
,
SQLINTEGER
*
NativeError
,
WCHAR
*
MessageText
,
SQLSMALLINT
BufferLength
,
SQLSMALLINT
*
TextLength
)
{
...
...
@@ -2399,7 +2392,7 @@ SQLRETURN WINAPI ODBC32_SQLErrorW(SQLHENV EnvironmentHandle, SQLHDBC ConnectionH
/*************************************************************************
* SQLExecDirectW [ODBC32.111]
*/
SQLRETURN
WINAPI
ODBC32_
SQLExecDirectW
(
SQLHSTMT
StatementHandle
,
WCHAR
*
StatementText
,
SQLINTEGER
TextLength
)
SQLRETURN
WINAPI
SQLExecDirectW
(
SQLHSTMT
StatementHandle
,
WCHAR
*
StatementText
,
SQLINTEGER
TextLength
)
{
SQLRETURN
ret
;
...
...
@@ -2416,7 +2409,7 @@ SQLRETURN WINAPI ODBC32_SQLExecDirectW(SQLHSTMT StatementHandle, WCHAR *Statemen
/*************************************************************************
* SQLGetCursorNameW [ODBC32.117]
*/
SQLRETURN
WINAPI
ODBC32_
SQLGetCursorNameW
(
SQLHSTMT
StatementHandle
,
WCHAR
*
CursorName
,
SQLSMALLINT
BufferLength
,
SQLRETURN
WINAPI
SQLGetCursorNameW
(
SQLHSTMT
StatementHandle
,
WCHAR
*
CursorName
,
SQLSMALLINT
BufferLength
,
SQLSMALLINT
*
NameLength
)
{
SQLRETURN
ret
;
...
...
@@ -2434,7 +2427,7 @@ SQLRETURN WINAPI ODBC32_SQLGetCursorNameW(SQLHSTMT StatementHandle, WCHAR *Curso
/*************************************************************************
* SQLPrepareW [ODBC32.119]
*/
SQLRETURN
WINAPI
ODBC32_
SQLPrepareW
(
SQLHSTMT
StatementHandle
,
WCHAR
*
StatementText
,
SQLINTEGER
TextLength
)
SQLRETURN
WINAPI
SQLPrepareW
(
SQLHSTMT
StatementHandle
,
WCHAR
*
StatementText
,
SQLINTEGER
TextLength
)
{
SQLRETURN
ret
;
...
...
@@ -2451,7 +2444,7 @@ SQLRETURN WINAPI ODBC32_SQLPrepareW(SQLHSTMT StatementHandle, WCHAR *StatementTe
/*************************************************************************
* SQLSetCursorNameW [ODBC32.121]
*/
SQLRETURN
WINAPI
ODBC32_
SQLSetCursorNameW
(
SQLHSTMT
StatementHandle
,
WCHAR
*
CursorName
,
SQLSMALLINT
NameLength
)
SQLRETURN
WINAPI
SQLSetCursorNameW
(
SQLHSTMT
StatementHandle
,
WCHAR
*
CursorName
,
SQLSMALLINT
NameLength
)
{
SQLRETURN
ret
;
...
...
@@ -2468,7 +2461,7 @@ SQLRETURN WINAPI ODBC32_SQLSetCursorNameW(SQLHSTMT StatementHandle, WCHAR *Curso
/*************************************************************************
* SQLColAttributeW [ODBC32.127]
*/
SQLRETURN
WINAPI
ODBC32_
SQLColAttributeW
(
SQLHSTMT
StatementHandle
,
SQLUSMALLINT
ColumnNumber
,
SQLRETURN
WINAPI
SQLColAttributeW
(
SQLHSTMT
StatementHandle
,
SQLUSMALLINT
ColumnNumber
,
SQLUSMALLINT
FieldIdentifier
,
SQLPOINTER
CharacterAttribute
,
SQLSMALLINT
BufferLength
,
SQLSMALLINT
*
StringLength
,
SQLLEN
*
NumericAttribute
)
...
...
@@ -2498,7 +2491,7 @@ SQLRETURN WINAPI ODBC32_SQLColAttributeW(SQLHSTMT StatementHandle, SQLUSMALLINT
/*************************************************************************
* SQLGetConnectAttrW [ODBC32.132]
*/
SQLRETURN
WINAPI
ODBC32_
SQLGetConnectAttrW
(
SQLHDBC
ConnectionHandle
,
SQLINTEGER
Attribute
,
SQLPOINTER
Value
,
SQLRETURN
WINAPI
SQLGetConnectAttrW
(
SQLHDBC
ConnectionHandle
,
SQLINTEGER
Attribute
,
SQLPOINTER
Value
,
SQLINTEGER
BufferLength
,
SQLINTEGER
*
StringLength
)
{
SQLRETURN
ret
;
...
...
@@ -2516,7 +2509,7 @@ SQLRETURN WINAPI ODBC32_SQLGetConnectAttrW(SQLHDBC ConnectionHandle, SQLINTEGER
/*************************************************************************
* SQLGetDescFieldW [ODBC32.133]
*/
SQLRETURN
WINAPI
ODBC32_
SQLGetDescFieldW
(
SQLHDESC
DescriptorHandle
,
SQLSMALLINT
RecNumber
,
SQLSMALLINT
FieldIdentifier
,
SQLRETURN
WINAPI
SQLGetDescFieldW
(
SQLHDESC
DescriptorHandle
,
SQLSMALLINT
RecNumber
,
SQLSMALLINT
FieldIdentifier
,
SQLPOINTER
Value
,
SQLINTEGER
BufferLength
,
SQLINTEGER
*
StringLength
)
{
SQLRETURN
ret
;
...
...
@@ -2534,7 +2527,7 @@ SQLRETURN WINAPI ODBC32_SQLGetDescFieldW(SQLHDESC DescriptorHandle, SQLSMALLINT
/*************************************************************************
* SQLGetDescRecW [ODBC32.134]
*/
SQLRETURN
WINAPI
ODBC32_
SQLGetDescRecW
(
SQLHDESC
DescriptorHandle
,
SQLSMALLINT
RecNumber
,
WCHAR
*
Name
,
SQLRETURN
WINAPI
SQLGetDescRecW
(
SQLHDESC
DescriptorHandle
,
SQLSMALLINT
RecNumber
,
WCHAR
*
Name
,
SQLSMALLINT
BufferLength
,
SQLSMALLINT
*
StringLength
,
SQLSMALLINT
*
Type
,
SQLSMALLINT
*
SubType
,
SQLLEN
*
Length
,
SQLSMALLINT
*
Precision
,
SQLSMALLINT
*
Scale
,
SQLSMALLINT
*
Nullable
)
...
...
@@ -2556,7 +2549,7 @@ SQLRETURN WINAPI ODBC32_SQLGetDescRecW(SQLHDESC DescriptorHandle, SQLSMALLINT Re
/*************************************************************************
* SQLGetDiagFieldW [ODBC32.135]
*/
SQLRETURN
WINAPI
ODBC32_
SQLGetDiagFieldW
(
SQLSMALLINT
HandleType
,
SQLHANDLE
Handle
,
SQLSMALLINT
RecNumber
,
SQLRETURN
WINAPI
SQLGetDiagFieldW
(
SQLSMALLINT
HandleType
,
SQLHANDLE
Handle
,
SQLSMALLINT
RecNumber
,
SQLSMALLINT
DiagIdentifier
,
SQLPOINTER
DiagInfo
,
SQLSMALLINT
BufferLength
,
SQLSMALLINT
*
StringLength
)
{
...
...
@@ -2575,7 +2568,7 @@ SQLRETURN WINAPI ODBC32_SQLGetDiagFieldW(SQLSMALLINT HandleType, SQLHANDLE Handl
/*************************************************************************
* SQLGetDiagRecW [ODBC32.136]
*/
SQLRETURN
WINAPI
ODBC32_
SQLGetDiagRecW
(
SQLSMALLINT
HandleType
,
SQLHANDLE
Handle
,
SQLSMALLINT
RecNumber
,
SQLRETURN
WINAPI
SQLGetDiagRecW
(
SQLSMALLINT
HandleType
,
SQLHANDLE
Handle
,
SQLSMALLINT
RecNumber
,
WCHAR
*
Sqlstate
,
SQLINTEGER
*
NativeError
,
WCHAR
*
MessageText
,
SQLSMALLINT
BufferLength
,
SQLSMALLINT
*
TextLength
)
{
...
...
@@ -2595,7 +2588,7 @@ SQLRETURN WINAPI ODBC32_SQLGetDiagRecW(SQLSMALLINT HandleType, SQLHANDLE Handle,
/*************************************************************************
* SQLGetStmtAttrW [ODBC32.138]
*/
SQLRETURN
WINAPI
ODBC32_
SQLGetStmtAttrW
(
SQLHSTMT
StatementHandle
,
SQLINTEGER
Attribute
,
SQLPOINTER
Value
,
SQLRETURN
WINAPI
SQLGetStmtAttrW
(
SQLHSTMT
StatementHandle
,
SQLINTEGER
Attribute
,
SQLPOINTER
Value
,
SQLINTEGER
BufferLength
,
SQLINTEGER
*
StringLength
)
{
SQLRETURN
ret
;
...
...
@@ -2619,7 +2612,7 @@ SQLRETURN WINAPI ODBC32_SQLGetStmtAttrW(SQLHSTMT StatementHandle, SQLINTEGER Att
/*************************************************************************
* SQLSetConnectAttrW [ODBC32.139]
*/
SQLRETURN
WINAPI
ODBC32_
SQLSetConnectAttrW
(
SQLHDBC
ConnectionHandle
,
SQLINTEGER
Attribute
,
SQLPOINTER
Value
,
SQLRETURN
WINAPI
SQLSetConnectAttrW
(
SQLHDBC
ConnectionHandle
,
SQLINTEGER
Attribute
,
SQLPOINTER
Value
,
SQLINTEGER
StringLength
)
{
SQLRETURN
ret
;
...
...
@@ -2637,7 +2630,7 @@ SQLRETURN WINAPI ODBC32_SQLSetConnectAttrW(SQLHDBC ConnectionHandle, SQLINTEGER
/*************************************************************************
* SQLColumnsW [ODBC32.140]
*/
SQLRETURN
WINAPI
ODBC32_
SQLColumnsW
(
SQLHSTMT
StatementHandle
,
WCHAR
*
CatalogName
,
SQLSMALLINT
NameLength1
,
SQLRETURN
WINAPI
SQLColumnsW
(
SQLHSTMT
StatementHandle
,
WCHAR
*
CatalogName
,
SQLSMALLINT
NameLength1
,
WCHAR
*
SchemaName
,
SQLSMALLINT
NameLength2
,
WCHAR
*
TableName
,
SQLSMALLINT
NameLength3
,
WCHAR
*
ColumnName
,
SQLSMALLINT
NameLength4
)
{
...
...
@@ -2659,7 +2652,7 @@ SQLRETURN WINAPI ODBC32_SQLColumnsW(SQLHSTMT StatementHandle, WCHAR *CatalogName
/*************************************************************************
* SQLDriverConnectW [ODBC32.141]
*/
SQLRETURN
WINAPI
ODBC32_
SQLDriverConnectW
(
SQLHDBC
ConnectionHandle
,
SQLHWND
WindowHandle
,
WCHAR
*
InConnectionString
,
SQLRETURN
WINAPI
SQLDriverConnectW
(
SQLHDBC
ConnectionHandle
,
SQLHWND
WindowHandle
,
WCHAR
*
InConnectionString
,
SQLSMALLINT
Length
,
WCHAR
*
OutConnectionString
,
SQLSMALLINT
BufferLength
,
SQLSMALLINT
*
Length2
,
SQLUSMALLINT
DriverCompletion
)
{
...
...
@@ -2681,7 +2674,7 @@ SQLRETURN WINAPI ODBC32_SQLDriverConnectW(SQLHDBC ConnectionHandle, SQLHWND Wind
/*************************************************************************
* SQLGetConnectOptionW [ODBC32.142]
*/
SQLRETURN
WINAPI
ODBC32_
SQLGetConnectOptionW
(
SQLHDBC
ConnectionHandle
,
SQLUSMALLINT
Option
,
SQLPOINTER
Value
)
SQLRETURN
WINAPI
SQLGetConnectOptionW
(
SQLHDBC
ConnectionHandle
,
SQLUSMALLINT
Option
,
SQLPOINTER
Value
)
{
SQLRETURN
ret
;
...
...
@@ -2697,7 +2690,7 @@ SQLRETURN WINAPI ODBC32_SQLGetConnectOptionW(SQLHDBC ConnectionHandle, SQLUSMALL
/*************************************************************************
* SQLGetInfoW [ODBC32.145]
*/
SQLRETURN
WINAPI
ODBC32_
SQLGetInfoW
(
SQLHDBC
ConnectionHandle
,
SQLUSMALLINT
InfoType
,
SQLPOINTER
InfoValue
,
SQLRETURN
WINAPI
SQLGetInfoW
(
SQLHDBC
ConnectionHandle
,
SQLUSMALLINT
InfoType
,
SQLPOINTER
InfoValue
,
SQLSMALLINT
BufferLength
,
SQLSMALLINT
*
StringLength
)
{
SQLRETURN
ret
;
...
...
@@ -2721,7 +2714,7 @@ SQLRETURN WINAPI ODBC32_SQLGetInfoW(SQLHDBC ConnectionHandle, SQLUSMALLINT InfoT
/*************************************************************************
* SQLGetTypeInfoW [ODBC32.147]
*/
SQLRETURN
WINAPI
ODBC32_
SQLGetTypeInfoW
(
SQLHSTMT
StatementHandle
,
SQLSMALLINT
DataType
)
SQLRETURN
WINAPI
SQLGetTypeInfoW
(
SQLHSTMT
StatementHandle
,
SQLSMALLINT
DataType
)
{
SQLRETURN
ret
;
...
...
@@ -2737,7 +2730,7 @@ SQLRETURN WINAPI ODBC32_SQLGetTypeInfoW(SQLHSTMT StatementHandle, SQLSMALLINT Da
/*************************************************************************
* SQLSetConnectOptionW [ODBC32.150]
*/
SQLRETURN
WINAPI
ODBC32_
SQLSetConnectOptionW
(
SQLHDBC
ConnectionHandle
,
SQLUSMALLINT
Option
,
SQLLEN
Value
)
SQLRETURN
WINAPI
SQLSetConnectOptionW
(
SQLHDBC
ConnectionHandle
,
SQLUSMALLINT
Option
,
SQLLEN
Value
)
{
SQLRETURN
ret
;
...
...
@@ -2753,7 +2746,7 @@ SQLRETURN WINAPI ODBC32_SQLSetConnectOptionW(SQLHDBC ConnectionHandle, SQLUSMALL
/*************************************************************************
* SQLSpecialColumnsW [ODBC32.152]
*/
SQLRETURN
WINAPI
ODBC32_
SQLSpecialColumnsW
(
SQLHSTMT
StatementHandle
,
SQLUSMALLINT
IdentifierType
,
SQLRETURN
WINAPI
SQLSpecialColumnsW
(
SQLHSTMT
StatementHandle
,
SQLUSMALLINT
IdentifierType
,
SQLWCHAR
*
CatalogName
,
SQLSMALLINT
NameLength1
,
SQLWCHAR
*
SchemaName
,
SQLSMALLINT
NameLength2
,
SQLWCHAR
*
TableName
,
SQLSMALLINT
NameLength3
,
SQLUSMALLINT
Scope
,
SQLUSMALLINT
Nullable
)
...
...
@@ -2776,7 +2769,7 @@ SQLRETURN WINAPI ODBC32_SQLSpecialColumnsW(SQLHSTMT StatementHandle, SQLUSMALLIN
/*************************************************************************
* SQLStatisticsW [ODBC32.153]
*/
SQLRETURN
WINAPI
ODBC32_
SQLStatisticsW
(
SQLHSTMT
StatementHandle
,
SQLWCHAR
*
CatalogName
,
SQLSMALLINT
NameLength1
,
SQLRETURN
WINAPI
SQLStatisticsW
(
SQLHSTMT
StatementHandle
,
SQLWCHAR
*
CatalogName
,
SQLSMALLINT
NameLength1
,
SQLWCHAR
*
SchemaName
,
SQLSMALLINT
NameLength2
,
SQLWCHAR
*
TableName
,
SQLSMALLINT
NameLength3
,
SQLUSMALLINT
Unique
,
SQLUSMALLINT
Reserved
)
{
...
...
@@ -2798,7 +2791,7 @@ SQLRETURN WINAPI ODBC32_SQLStatisticsW(SQLHSTMT StatementHandle, SQLWCHAR *Catal
/*************************************************************************
* SQLTablesW [ODBC32.154]
*/
SQLRETURN
WINAPI
ODBC32_
SQLTablesW
(
SQLHSTMT
StatementHandle
,
SQLWCHAR
*
CatalogName
,
SQLSMALLINT
NameLength1
,
SQLRETURN
WINAPI
SQLTablesW
(
SQLHSTMT
StatementHandle
,
SQLWCHAR
*
CatalogName
,
SQLSMALLINT
NameLength1
,
SQLWCHAR
*
SchemaName
,
SQLSMALLINT
NameLength2
,
SQLWCHAR
*
TableName
,
SQLSMALLINT
NameLength3
,
SQLWCHAR
*
TableType
,
SQLSMALLINT
NameLength4
)
{
...
...
@@ -2820,7 +2813,7 @@ SQLRETURN WINAPI ODBC32_SQLTablesW(SQLHSTMT StatementHandle, SQLWCHAR *CatalogNa
/*************************************************************************
* SQLBrowseConnectW [ODBC32.155]
*/
SQLRETURN
WINAPI
ODBC32_
SQLBrowseConnectW
(
SQLHDBC
hdbc
,
SQLWCHAR
*
szConnStrIn
,
SQLSMALLINT
cbConnStrIn
,
SQLRETURN
WINAPI
SQLBrowseConnectW
(
SQLHDBC
hdbc
,
SQLWCHAR
*
szConnStrIn
,
SQLSMALLINT
cbConnStrIn
,
SQLWCHAR
*
szConnStrOut
,
SQLSMALLINT
cbConnStrOutMax
,
SQLSMALLINT
*
pcbConnStrOut
)
{
...
...
@@ -2839,7 +2832,7 @@ SQLRETURN WINAPI ODBC32_SQLBrowseConnectW(SQLHDBC hdbc, SQLWCHAR *szConnStrIn, S
/*************************************************************************
* SQLColumnPrivilegesW [ODBC32.156]
*/
SQLRETURN
WINAPI
ODBC32_
SQLColumnPrivilegesW
(
SQLHSTMT
hstmt
,
SQLWCHAR
*
szCatalogName
,
SQLSMALLINT
cbCatalogName
,
SQLRETURN
WINAPI
SQLColumnPrivilegesW
(
SQLHSTMT
hstmt
,
SQLWCHAR
*
szCatalogName
,
SQLSMALLINT
cbCatalogName
,
SQLWCHAR
*
szSchemaName
,
SQLSMALLINT
cbSchemaName
,
SQLWCHAR
*
szTableName
,
SQLSMALLINT
cbTableName
,
SQLWCHAR
*
szColumnName
,
SQLSMALLINT
cbColumnName
)
{
...
...
@@ -2863,7 +2856,7 @@ SQLRETURN WINAPI ODBC32_SQLColumnPrivilegesW(SQLHSTMT hstmt, SQLWCHAR *szCatalog
/*************************************************************************
* SQLDataSourcesW [ODBC32.157]
*/
SQLRETURN
WINAPI
ODBC32_
SQLDataSourcesW
(
SQLHENV
EnvironmentHandle
,
SQLUSMALLINT
Direction
,
WCHAR
*
ServerName
,
SQLRETURN
WINAPI
SQLDataSourcesW
(
SQLHENV
EnvironmentHandle
,
SQLUSMALLINT
Direction
,
WCHAR
*
ServerName
,
SQLSMALLINT
BufferLength1
,
SQLSMALLINT
*
NameLength1
,
WCHAR
*
Description
,
SQLSMALLINT
BufferLength2
,
SQLSMALLINT
*
NameLength2
)
{
...
...
@@ -2894,7 +2887,7 @@ SQLRETURN WINAPI ODBC32_SQLDataSourcesW(SQLHENV EnvironmentHandle, SQLUSMALLINT
/*************************************************************************
* SQLForeignKeysW [ODBC32.160]
*/
SQLRETURN
WINAPI
ODBC32_
SQLForeignKeysW
(
SQLHSTMT
hstmt
,
SQLWCHAR
*
szPkCatalogName
,
SQLSMALLINT
cbPkCatalogName
,
SQLRETURN
WINAPI
SQLForeignKeysW
(
SQLHSTMT
hstmt
,
SQLWCHAR
*
szPkCatalogName
,
SQLSMALLINT
cbPkCatalogName
,
SQLWCHAR
*
szPkSchemaName
,
SQLSMALLINT
cbPkSchemaName
,
SQLWCHAR
*
szPkTableName
,
SQLSMALLINT
cbPkTableName
,
SQLWCHAR
*
szFkCatalogName
,
SQLSMALLINT
cbFkCatalogName
,
SQLWCHAR
*
szFkSchemaName
,
...
...
@@ -2924,7 +2917,7 @@ SQLRETURN WINAPI ODBC32_SQLForeignKeysW(SQLHSTMT hstmt, SQLWCHAR *szPkCatalogNam
/*************************************************************************
* SQLNativeSqlW [ODBC32.162]
*/
SQLRETURN
WINAPI
ODBC32_
SQLNativeSqlW
(
SQLHDBC
hdbc
,
SQLWCHAR
*
szSqlStrIn
,
SQLINTEGER
cbSqlStrIn
,
SQLWCHAR
*
szSqlStr
,
SQLRETURN
WINAPI
SQLNativeSqlW
(
SQLHDBC
hdbc
,
SQLWCHAR
*
szSqlStrIn
,
SQLINTEGER
cbSqlStrIn
,
SQLWCHAR
*
szSqlStr
,
SQLINTEGER
cbSqlStrMax
,
SQLINTEGER
*
pcbSqlStr
)
{
SQLRETURN
ret
;
...
...
@@ -2942,7 +2935,7 @@ SQLRETURN WINAPI ODBC32_SQLNativeSqlW(SQLHDBC hdbc, SQLWCHAR *szSqlStrIn, SQLINT
/*************************************************************************
* SQLPrimaryKeysW [ODBC32.165]
*/
SQLRETURN
WINAPI
ODBC32_
SQLPrimaryKeysW
(
SQLHSTMT
hstmt
,
SQLWCHAR
*
szCatalogName
,
SQLSMALLINT
cbCatalogName
,
SQLRETURN
WINAPI
SQLPrimaryKeysW
(
SQLHSTMT
hstmt
,
SQLWCHAR
*
szCatalogName
,
SQLSMALLINT
cbCatalogName
,
SQLWCHAR
*
szSchemaName
,
SQLSMALLINT
cbSchemaName
,
SQLWCHAR
*
szTableName
,
SQLSMALLINT
cbTableName
)
{
...
...
@@ -2964,7 +2957,7 @@ SQLRETURN WINAPI ODBC32_SQLPrimaryKeysW(SQLHSTMT hstmt, SQLWCHAR *szCatalogName,
/*************************************************************************
* SQLProcedureColumnsW [ODBC32.166]
*/
SQLRETURN
WINAPI
ODBC32_
SQLProcedureColumnsW
(
SQLHSTMT
hstmt
,
SQLWCHAR
*
szCatalogName
,
SQLSMALLINT
cbCatalogName
,
SQLRETURN
WINAPI
SQLProcedureColumnsW
(
SQLHSTMT
hstmt
,
SQLWCHAR
*
szCatalogName
,
SQLSMALLINT
cbCatalogName
,
SQLWCHAR
*
szSchemaName
,
SQLSMALLINT
cbSchemaName
,
SQLWCHAR
*
szProcName
,
SQLSMALLINT
cbProcName
,
SQLWCHAR
*
szColumnName
,
SQLSMALLINT
cbColumnName
)
{
...
...
@@ -2988,7 +2981,7 @@ SQLRETURN WINAPI ODBC32_SQLProcedureColumnsW(SQLHSTMT hstmt, SQLWCHAR *szCatalog
/*************************************************************************
* SQLProceduresW [ODBC32.167]
*/
SQLRETURN
WINAPI
ODBC32_
SQLProceduresW
(
SQLHSTMT
hstmt
,
SQLWCHAR
*
szCatalogName
,
SQLSMALLINT
cbCatalogName
,
SQLRETURN
WINAPI
SQLProceduresW
(
SQLHSTMT
hstmt
,
SQLWCHAR
*
szCatalogName
,
SQLSMALLINT
cbCatalogName
,
SQLWCHAR
*
szSchemaName
,
SQLSMALLINT
cbSchemaName
,
SQLWCHAR
*
szProcName
,
SQLSMALLINT
cbProcName
)
{
...
...
@@ -3008,7 +3001,7 @@ SQLRETURN WINAPI ODBC32_SQLProceduresW(SQLHSTMT hstmt, SQLWCHAR *szCatalogName,
/*************************************************************************
* SQLTablePrivilegesW [ODBC32.170]
*/
SQLRETURN
WINAPI
ODBC32_
SQLTablePrivilegesW
(
SQLHSTMT
hstmt
,
SQLWCHAR
*
szCatalogName
,
SQLSMALLINT
cbCatalogName
,
SQLRETURN
WINAPI
SQLTablePrivilegesW
(
SQLHSTMT
hstmt
,
SQLWCHAR
*
szCatalogName
,
SQLSMALLINT
cbCatalogName
,
SQLWCHAR
*
szSchemaName
,
SQLSMALLINT
cbSchemaName
,
SQLWCHAR
*
szTableName
,
SQLSMALLINT
cbTableName
)
{
...
...
@@ -3029,7 +3022,7 @@ SQLRETURN WINAPI ODBC32_SQLTablePrivilegesW(SQLHSTMT hstmt, SQLWCHAR *szCatalogN
/*************************************************************************
* SQLDriversW [ODBC32.171]
*/
SQLRETURN
WINAPI
ODBC32_
SQLDriversW
(
SQLHENV
EnvironmentHandle
,
SQLUSMALLINT
fDirection
,
SQLWCHAR
*
szDriverDesc
,
SQLRETURN
WINAPI
SQLDriversW
(
SQLHENV
EnvironmentHandle
,
SQLUSMALLINT
fDirection
,
SQLWCHAR
*
szDriverDesc
,
SQLSMALLINT
cbDriverDescMax
,
SQLSMALLINT
*
pcbDriverDesc
,
SQLWCHAR
*
szDriverAttributes
,
SQLSMALLINT
cbDriverAttrMax
,
SQLSMALLINT
*
pcbDriverAttr
)
...
...
@@ -3055,7 +3048,7 @@ SQLRETURN WINAPI ODBC32_SQLDriversW(SQLHENV EnvironmentHandle, SQLUSMALLINT fDir
/*************************************************************************
* SQLSetDescFieldW [ODBC32.173]
*/
SQLRETURN
WINAPI
ODBC32_
SQLSetDescFieldW
(
SQLHDESC
DescriptorHandle
,
SQLSMALLINT
RecNumber
,
SQLSMALLINT
FieldIdentifier
,
SQLRETURN
WINAPI
SQLSetDescFieldW
(
SQLHDESC
DescriptorHandle
,
SQLSMALLINT
RecNumber
,
SQLSMALLINT
FieldIdentifier
,
SQLPOINTER
Value
,
SQLINTEGER
BufferLength
)
{
SQLRETURN
ret
;
...
...
@@ -3073,7 +3066,7 @@ SQLRETURN WINAPI ODBC32_SQLSetDescFieldW(SQLHDESC DescriptorHandle, SQLSMALLINT
/*************************************************************************
* SQLSetStmtAttrW [ODBC32.176]
*/
SQLRETURN
WINAPI
ODBC32_
SQLSetStmtAttrW
(
SQLHSTMT
StatementHandle
,
SQLINTEGER
Attribute
,
SQLPOINTER
Value
,
SQLRETURN
WINAPI
SQLSetStmtAttrW
(
SQLHSTMT
StatementHandle
,
SQLINTEGER
Attribute
,
SQLPOINTER
Value
,
SQLINTEGER
StringLength
)
{
SQLRETURN
ret
;
...
...
@@ -3097,7 +3090,7 @@ SQLRETURN WINAPI ODBC32_SQLSetStmtAttrW(SQLHSTMT StatementHandle, SQLINTEGER Att
/*************************************************************************
* SQLGetDiagRecA [ODBC32.236]
*/
SQLRETURN
WINAPI
ODBC32_
SQLGetDiagRecA
(
SQLSMALLINT
HandleType
,
SQLHANDLE
Handle
,
SQLSMALLINT
RecNumber
,
SQLRETURN
WINAPI
SQLGetDiagRecA
(
SQLSMALLINT
HandleType
,
SQLHANDLE
Handle
,
SQLSMALLINT
RecNumber
,
SQLCHAR
*
Sqlstate
,
SQLINTEGER
*
NativeError
,
SQLCHAR
*
MessageText
,
SQLSMALLINT
BufferLength
,
SQLSMALLINT
*
TextLength
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment