Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
f4c9eac7
Commit
f4c9eac7
authored
Jun 05, 2015
by
Alistair Leslie-Hughes
Committed by
Alexandre Julliard
Jun 08, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
odbccp32: Add a trace message to functions.
parent
804b96a6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
53 additions
and
32 deletions
+53
-32
odbccp32.c
dlls/odbccp32/odbccp32.c
+49
-28
odbccp32.spec
dlls/odbccp32/odbccp32.spec
+4
-4
No files found.
dlls/odbccp32/odbccp32.c
View file @
f4c9eac7
...
@@ -264,7 +264,7 @@ BOOL WINAPI SQLConfigDriver(HWND hwndParent, WORD fRequest, LPCSTR lpszDriver,
...
@@ -264,7 +264,7 @@ BOOL WINAPI SQLConfigDriver(HWND hwndParent, WORD fRequest, LPCSTR lpszDriver,
BOOL
WINAPI
SQLCreateDataSourceW
(
HWND
hwnd
,
LPCWSTR
lpszDS
)
BOOL
WINAPI
SQLCreateDataSourceW
(
HWND
hwnd
,
LPCWSTR
lpszDS
)
{
{
clear_errors
();
clear_errors
();
FIXME
(
"
\n
"
);
FIXME
(
"
%p %s
\n
"
,
hwnd
,
debugstr_w
(
lpszDS
)
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
return
FALSE
;
return
FALSE
;
}
}
...
@@ -272,7 +272,7 @@ BOOL WINAPI SQLCreateDataSourceW(HWND hwnd, LPCWSTR lpszDS)
...
@@ -272,7 +272,7 @@ BOOL WINAPI SQLCreateDataSourceW(HWND hwnd, LPCWSTR lpszDS)
BOOL
WINAPI
SQLCreateDataSource
(
HWND
hwnd
,
LPCSTR
lpszDS
)
BOOL
WINAPI
SQLCreateDataSource
(
HWND
hwnd
,
LPCSTR
lpszDS
)
{
{
clear_errors
();
clear_errors
();
FIXME
(
"
\n
"
);
FIXME
(
"
%p %s
\n
"
,
hwnd
,
debugstr_a
(
lpszDS
)
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
return
FALSE
;
return
FALSE
;
}
}
...
@@ -281,7 +281,7 @@ BOOL WINAPI SQLGetAvailableDriversW(LPCWSTR lpszInfFile, LPWSTR lpszBuf,
...
@@ -281,7 +281,7 @@ BOOL WINAPI SQLGetAvailableDriversW(LPCWSTR lpszInfFile, LPWSTR lpszBuf,
WORD
cbBufMax
,
WORD
*
pcbBufOut
)
WORD
cbBufMax
,
WORD
*
pcbBufOut
)
{
{
clear_errors
();
clear_errors
();
FIXME
(
"
\n
"
);
FIXME
(
"
%s %p %d %p
\n
"
,
debugstr_w
(
lpszInfFile
),
lpszBuf
,
cbBufMax
,
pcbBufOut
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
return
FALSE
;
return
FALSE
;
}
}
...
@@ -290,7 +290,7 @@ BOOL WINAPI SQLGetAvailableDrivers(LPCSTR lpszInfFile, LPSTR lpszBuf,
...
@@ -290,7 +290,7 @@ BOOL WINAPI SQLGetAvailableDrivers(LPCSTR lpszInfFile, LPSTR lpszBuf,
WORD
cbBufMax
,
WORD
*
pcbBufOut
)
WORD
cbBufMax
,
WORD
*
pcbBufOut
)
{
{
clear_errors
();
clear_errors
();
FIXME
(
"
\n
"
);
FIXME
(
"
%s %p %d %p
\n
"
,
debugstr_a
(
lpszInfFile
),
lpszBuf
,
cbBufMax
,
pcbBufOut
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
return
FALSE
;
return
FALSE
;
}
}
...
@@ -298,6 +298,7 @@ BOOL WINAPI SQLGetAvailableDrivers(LPCSTR lpszInfFile, LPSTR lpszBuf,
...
@@ -298,6 +298,7 @@ BOOL WINAPI SQLGetAvailableDrivers(LPCSTR lpszInfFile, LPSTR lpszBuf,
BOOL
WINAPI
SQLGetConfigMode
(
UWORD
*
pwConfigMode
)
BOOL
WINAPI
SQLGetConfigMode
(
UWORD
*
pwConfigMode
)
{
{
clear_errors
();
clear_errors
();
TRACE
(
"%p
\n
"
,
pwConfigMode
);
if
(
pwConfigMode
)
if
(
pwConfigMode
)
*
pwConfigMode
=
config_mode
;
*
pwConfigMode
=
config_mode
;
return
TRUE
;
return
TRUE
;
...
@@ -315,6 +316,9 @@ BOOL WINAPI SQLGetInstalledDriversW(LPWSTR lpszBuf, WORD cbBufMax,
...
@@ -315,6 +316,9 @@ BOOL WINAPI SQLGetInstalledDriversW(LPWSTR lpszBuf, WORD cbBufMax,
BOOL
success
=
FALSE
;
/* The value we will return */
BOOL
success
=
FALSE
;
/* The value we will return */
clear_errors
();
clear_errors
();
TRACE
(
"%p %d %p
\n
"
,
lpszBuf
,
cbBufMax
,
pcbBufOut
);
if
(
!
lpszBuf
||
cbBufMax
==
0
)
if
(
!
lpszBuf
||
cbBufMax
==
0
)
{
{
push_error
(
ODBC_ERROR_INVALID_BUFF_LEN
,
odbc_error_invalid_buff_len
);
push_error
(
ODBC_ERROR_INVALID_BUFF_LEN
,
odbc_error_invalid_buff_len
);
...
@@ -370,6 +374,9 @@ BOOL WINAPI SQLGetInstalledDrivers(LPSTR lpszBuf, WORD cbBufMax,
...
@@ -370,6 +374,9 @@ BOOL WINAPI SQLGetInstalledDrivers(LPSTR lpszBuf, WORD cbBufMax,
int
size_wbuf
=
cbBufMax
;
int
size_wbuf
=
cbBufMax
;
LPWSTR
wbuf
;
LPWSTR
wbuf
;
WORD
size_used
;
WORD
size_used
;
TRACE
(
"%p %d %p
\n
"
,
lpszBuf
,
cbBufMax
,
pcbBufOut
);
wbuf
=
HeapAlloc
(
GetProcessHeap
(),
0
,
size_wbuf
*
sizeof
(
WCHAR
));
wbuf
=
HeapAlloc
(
GetProcessHeap
(),
0
,
size_wbuf
*
sizeof
(
WCHAR
));
if
(
wbuf
)
if
(
wbuf
)
{
{
...
@@ -397,7 +404,9 @@ int WINAPI SQLGetPrivateProfileStringW(LPCWSTR lpszSection, LPCWSTR lpszEntry,
...
@@ -397,7 +404,9 @@ int WINAPI SQLGetPrivateProfileStringW(LPCWSTR lpszSection, LPCWSTR lpszEntry,
LPCWSTR
lpszFilename
)
LPCWSTR
lpszFilename
)
{
{
clear_errors
();
clear_errors
();
FIXME
(
"
\n
"
);
FIXME
(
"%s %s %s %p %d %s
\n
"
,
debugstr_w
(
lpszSection
),
debugstr_w
(
lpszEntry
),
debugstr_w
(
lpszDefault
),
RetBuffer
,
cbRetBuffer
,
debugstr_w
(
lpszFilename
));
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
return
FALSE
;
return
FALSE
;
}
}
...
@@ -407,7 +416,9 @@ int WINAPI SQLGetPrivateProfileString(LPCSTR lpszSection, LPCSTR lpszEntry,
...
@@ -407,7 +416,9 @@ int WINAPI SQLGetPrivateProfileString(LPCSTR lpszSection, LPCSTR lpszEntry,
LPCSTR
lpszFilename
)
LPCSTR
lpszFilename
)
{
{
clear_errors
();
clear_errors
();
FIXME
(
"
\n
"
);
FIXME
(
"%s %s %s %p %d %s
\n
"
,
debugstr_a
(
lpszSection
),
debugstr_a
(
lpszEntry
),
debugstr_a
(
lpszDefault
),
RetBuffer
,
cbRetBuffer
,
debugstr_a
(
lpszFilename
));
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
return
FALSE
;
return
FALSE
;
}
}
...
@@ -417,7 +428,8 @@ BOOL WINAPI SQLGetTranslatorW(HWND hwndParent, LPWSTR lpszName, WORD cbNameMax,
...
@@ -417,7 +428,8 @@ BOOL WINAPI SQLGetTranslatorW(HWND hwndParent, LPWSTR lpszName, WORD cbNameMax,
WORD
*
pcbPathOut
,
DWORD
*
pvOption
)
WORD
*
pcbPathOut
,
DWORD
*
pvOption
)
{
{
clear_errors
();
clear_errors
();
FIXME
(
"
\n
"
);
FIXME
(
"%p %s %d %p %p %d %p %p
\n
"
,
hwndParent
,
debugstr_w
(
lpszName
),
cbNameMax
,
pcbNameOut
,
lpszPath
,
cbPathMax
,
pcbPathOut
,
pvOption
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
return
FALSE
;
return
FALSE
;
}
}
...
@@ -427,7 +439,8 @@ BOOL WINAPI SQLGetTranslator(HWND hwndParent, LPSTR lpszName, WORD cbNameMax,
...
@@ -427,7 +439,8 @@ BOOL WINAPI SQLGetTranslator(HWND hwndParent, LPSTR lpszName, WORD cbNameMax,
WORD
*
pcbPathOut
,
DWORD
*
pvOption
)
WORD
*
pcbPathOut
,
DWORD
*
pvOption
)
{
{
clear_errors
();
clear_errors
();
FIXME
(
"
\n
"
);
FIXME
(
"%p %s %d %p %p %d %p %p
\n
"
,
hwndParent
,
debugstr_a
(
lpszName
),
cbNameMax
,
pcbNameOut
,
lpszPath
,
cbPathMax
,
pcbPathOut
,
pvOption
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
return
FALSE
;
return
FALSE
;
}
}
...
@@ -607,7 +620,8 @@ BOOL WINAPI SQLInstallODBCW(HWND hwndParent, LPCWSTR lpszInfFile,
...
@@ -607,7 +620,8 @@ BOOL WINAPI SQLInstallODBCW(HWND hwndParent, LPCWSTR lpszInfFile,
LPCWSTR
lpszSrcPath
,
LPCWSTR
lpszDrivers
)
LPCWSTR
lpszSrcPath
,
LPCWSTR
lpszDrivers
)
{
{
clear_errors
();
clear_errors
();
FIXME
(
"
\n
"
);
FIXME
(
"%p %s %s %s
\n
"
,
hwndParent
,
debugstr_w
(
lpszInfFile
),
debugstr_w
(
lpszSrcPath
),
debugstr_w
(
lpszDrivers
));
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
return
FALSE
;
return
FALSE
;
}
}
...
@@ -616,7 +630,8 @@ BOOL WINAPI SQLInstallODBC(HWND hwndParent, LPCSTR lpszInfFile,
...
@@ -616,7 +630,8 @@ BOOL WINAPI SQLInstallODBC(HWND hwndParent, LPCSTR lpszInfFile,
LPCSTR
lpszSrcPath
,
LPCSTR
lpszDrivers
)
LPCSTR
lpszSrcPath
,
LPCSTR
lpszDrivers
)
{
{
clear_errors
();
clear_errors
();
FIXME
(
"
\n
"
);
FIXME
(
"%p %s %s %s
\n
"
,
hwndParent
,
debugstr_a
(
lpszInfFile
),
debugstr_a
(
lpszSrcPath
),
debugstr_a
(
lpszDrivers
));
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
return
FALSE
;
return
FALSE
;
}
}
...
@@ -820,21 +835,21 @@ BOOL WINAPI SQLInstallTranslatorW(LPCWSTR lpszInfFile, LPCWSTR lpszTranslator,
...
@@ -820,21 +835,21 @@ BOOL WINAPI SQLInstallTranslatorW(LPCWSTR lpszInfFile, LPCWSTR lpszTranslator,
BOOL
WINAPI
SQLManageDataSources
(
HWND
hwnd
)
BOOL
WINAPI
SQLManageDataSources
(
HWND
hwnd
)
{
{
clear_errors
();
clear_errors
();
FIXME
(
"
\n
"
);
FIXME
(
"
%p
\n
"
,
hwnd
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
return
FALSE
;
return
FALSE
;
}
}
SQLRETURN
WINAPI
SQLPostInstallerErrorW
(
DWORD
fErrorCode
,
LPCWSTR
szErrorMsg
)
SQLRETURN
WINAPI
SQLPostInstallerErrorW
(
DWORD
fErrorCode
,
LPCWSTR
szErrorMsg
)
{
{
FIXME
(
"
\n
"
);
FIXME
(
"
%u %s
\n
"
,
fErrorCode
,
debugstr_w
(
szErrorMsg
)
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
return
FALSE
;
return
FALSE
;
}
}
SQLRETURN
WINAPI
SQLPostInstallerError
(
DWORD
fErrorCode
,
LPCSTR
szErrorMsg
)
SQLRETURN
WINAPI
SQLPostInstallerError
(
DWORD
fErrorCode
,
LPCSTR
szErrorMsg
)
{
{
FIXME
(
"
\n
"
);
FIXME
(
"
%u %s
\n
"
,
fErrorCode
,
debugstr_a
(
szErrorMsg
)
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
return
FALSE
;
return
FALSE
;
}
}
...
@@ -844,7 +859,8 @@ BOOL WINAPI SQLReadFileDSNW(LPCWSTR lpszFileName, LPCWSTR lpszAppName,
...
@@ -844,7 +859,8 @@ BOOL WINAPI SQLReadFileDSNW(LPCWSTR lpszFileName, LPCWSTR lpszAppName,
WORD
*
pcbString
)
WORD
*
pcbString
)
{
{
clear_errors
();
clear_errors
();
FIXME
(
"
\n
"
);
FIXME
(
"%s %s %s %s %d %p
\n
"
,
debugstr_w
(
lpszFileName
),
debugstr_w
(
lpszAppName
),
debugstr_w
(
lpszKeyName
),
debugstr_w
(
lpszString
),
cbString
,
pcbString
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
return
FALSE
;
return
FALSE
;
}
}
...
@@ -854,7 +870,8 @@ BOOL WINAPI SQLReadFileDSN(LPCSTR lpszFileName, LPCSTR lpszAppName,
...
@@ -854,7 +870,8 @@ BOOL WINAPI SQLReadFileDSN(LPCSTR lpszFileName, LPCSTR lpszAppName,
WORD
*
pcbString
)
WORD
*
pcbString
)
{
{
clear_errors
();
clear_errors
();
FIXME
(
"
\n
"
);
FIXME
(
"%s %s %s %s %d %p
\n
"
,
debugstr_a
(
lpszFileName
),
debugstr_a
(
lpszAppName
),
debugstr_a
(
lpszKeyName
),
debugstr_a
(
lpszString
),
cbString
,
pcbString
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
return
FALSE
;
return
FALSE
;
}
}
...
@@ -871,7 +888,7 @@ BOOL WINAPI SQLRemoveDriverW(LPCWSTR lpszDriver, BOOL fRemoveDSN,
...
@@ -871,7 +888,7 @@ BOOL WINAPI SQLRemoveDriverW(LPCWSTR lpszDriver, BOOL fRemoveDSN,
LPDWORD
lpdwUsageCount
)
LPDWORD
lpdwUsageCount
)
{
{
clear_errors
();
clear_errors
();
FIXME
(
"
stub
\n
"
);
FIXME
(
"
%s %d %p
\n
"
,
debugstr_w
(
lpszDriver
),
fRemoveDSN
,
lpdwUsageCount
);
if
(
lpdwUsageCount
)
*
lpdwUsageCount
=
1
;
if
(
lpdwUsageCount
)
*
lpdwUsageCount
=
1
;
return
TRUE
;
return
TRUE
;
}
}
...
@@ -880,7 +897,7 @@ BOOL WINAPI SQLRemoveDriver(LPCSTR lpszDriver, BOOL fRemoveDSN,
...
@@ -880,7 +897,7 @@ BOOL WINAPI SQLRemoveDriver(LPCSTR lpszDriver, BOOL fRemoveDSN,
LPDWORD
lpdwUsageCount
)
LPDWORD
lpdwUsageCount
)
{
{
clear_errors
();
clear_errors
();
FIXME
(
"
stub
\n
"
);
FIXME
(
"
%s %d %p
\n
"
,
debugstr_a
(
lpszDriver
),
fRemoveDSN
,
lpdwUsageCount
);
if
(
lpdwUsageCount
)
*
lpdwUsageCount
=
1
;
if
(
lpdwUsageCount
)
*
lpdwUsageCount
=
1
;
return
TRUE
;
return
TRUE
;
}
}
...
@@ -888,7 +905,7 @@ BOOL WINAPI SQLRemoveDriver(LPCSTR lpszDriver, BOOL fRemoveDSN,
...
@@ -888,7 +905,7 @@ BOOL WINAPI SQLRemoveDriver(LPCSTR lpszDriver, BOOL fRemoveDSN,
BOOL
WINAPI
SQLRemoveDriverManager
(
LPDWORD
pdwUsageCount
)
BOOL
WINAPI
SQLRemoveDriverManager
(
LPDWORD
pdwUsageCount
)
{
{
clear_errors
();
clear_errors
();
FIXME
(
"
stub
\n
"
);
FIXME
(
"
%p
\n
"
,
pdwUsageCount
);
if
(
pdwUsageCount
)
*
pdwUsageCount
=
1
;
if
(
pdwUsageCount
)
*
pdwUsageCount
=
1
;
return
TRUE
;
return
TRUE
;
}
}
...
@@ -896,7 +913,7 @@ BOOL WINAPI SQLRemoveDriverManager(LPDWORD pdwUsageCount)
...
@@ -896,7 +913,7 @@ BOOL WINAPI SQLRemoveDriverManager(LPDWORD pdwUsageCount)
BOOL
WINAPI
SQLRemoveDSNFromIniW
(
LPCWSTR
lpszDSN
)
BOOL
WINAPI
SQLRemoveDSNFromIniW
(
LPCWSTR
lpszDSN
)
{
{
clear_errors
();
clear_errors
();
FIXME
(
"
\n
"
);
FIXME
(
"
%s
\n
"
,
debugstr_w
(
lpszDSN
)
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
return
FALSE
;
return
FALSE
;
}
}
...
@@ -904,7 +921,7 @@ BOOL WINAPI SQLRemoveDSNFromIniW(LPCWSTR lpszDSN)
...
@@ -904,7 +921,7 @@ BOOL WINAPI SQLRemoveDSNFromIniW(LPCWSTR lpszDSN)
BOOL
WINAPI
SQLRemoveDSNFromIni
(
LPCSTR
lpszDSN
)
BOOL
WINAPI
SQLRemoveDSNFromIni
(
LPCSTR
lpszDSN
)
{
{
clear_errors
();
clear_errors
();
FIXME
(
"
\n
"
);
FIXME
(
"
%s
\n
"
,
debugstr_a
(
lpszDSN
)
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
return
FALSE
;
return
FALSE
;
}
}
...
@@ -912,7 +929,7 @@ BOOL WINAPI SQLRemoveDSNFromIni(LPCSTR lpszDSN)
...
@@ -912,7 +929,7 @@ BOOL WINAPI SQLRemoveDSNFromIni(LPCSTR lpszDSN)
BOOL
WINAPI
SQLRemoveTranslatorW
(
LPCWSTR
lpszTranslator
,
LPDWORD
lpdwUsageCount
)
BOOL
WINAPI
SQLRemoveTranslatorW
(
LPCWSTR
lpszTranslator
,
LPDWORD
lpdwUsageCount
)
{
{
clear_errors
();
clear_errors
();
FIXME
(
"
\n
"
);
FIXME
(
"
%s %p
\n
"
,
debugstr_w
(
lpszTranslator
),
lpdwUsageCount
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
return
FALSE
;
return
FALSE
;
}
}
...
@@ -920,7 +937,7 @@ BOOL WINAPI SQLRemoveTranslatorW(LPCWSTR lpszTranslator, LPDWORD lpdwUsageCount)
...
@@ -920,7 +937,7 @@ BOOL WINAPI SQLRemoveTranslatorW(LPCWSTR lpszTranslator, LPDWORD lpdwUsageCount)
BOOL
WINAPI
SQLRemoveTranslator
(
LPCSTR
lpszTranslator
,
LPDWORD
lpdwUsageCount
)
BOOL
WINAPI
SQLRemoveTranslator
(
LPCSTR
lpszTranslator
,
LPDWORD
lpdwUsageCount
)
{
{
clear_errors
();
clear_errors
();
FIXME
(
"
\n
"
);
FIXME
(
"
%s %p
\n
"
,
debugstr_a
(
lpszTranslator
),
lpdwUsageCount
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
return
FALSE
;
return
FALSE
;
}
}
...
@@ -928,6 +945,8 @@ BOOL WINAPI SQLRemoveTranslator(LPCSTR lpszTranslator, LPDWORD lpdwUsageCount)
...
@@ -928,6 +945,8 @@ BOOL WINAPI SQLRemoveTranslator(LPCSTR lpszTranslator, LPDWORD lpdwUsageCount)
BOOL
WINAPI
SQLSetConfigMode
(
UWORD
wConfigMode
)
BOOL
WINAPI
SQLSetConfigMode
(
UWORD
wConfigMode
)
{
{
clear_errors
();
clear_errors
();
TRACE
(
"%u
\n
"
,
wConfigMode
);
if
(
wConfigMode
>
ODBC_SYSTEM_DSN
)
if
(
wConfigMode
>
ODBC_SYSTEM_DSN
)
{
{
push_error
(
ODBC_ERROR_INVALID_PARAM_SEQUENCE
,
odbc_error_invalid_param_sequence
);
push_error
(
ODBC_ERROR_INVALID_PARAM_SEQUENCE
,
odbc_error_invalid_param_sequence
);
...
@@ -943,7 +962,7 @@ BOOL WINAPI SQLSetConfigMode(UWORD wConfigMode)
...
@@ -943,7 +962,7 @@ BOOL WINAPI SQLSetConfigMode(UWORD wConfigMode)
BOOL
WINAPI
SQLValidDSNW
(
LPCWSTR
lpszDSN
)
BOOL
WINAPI
SQLValidDSNW
(
LPCWSTR
lpszDSN
)
{
{
clear_errors
();
clear_errors
();
FIXME
(
"
\n
"
);
FIXME
(
"
%s
\n
"
,
debugstr_w
(
lpszDSN
)
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
return
FALSE
;
return
FALSE
;
}
}
...
@@ -951,7 +970,7 @@ BOOL WINAPI SQLValidDSNW(LPCWSTR lpszDSN)
...
@@ -951,7 +970,7 @@ BOOL WINAPI SQLValidDSNW(LPCWSTR lpszDSN)
BOOL
WINAPI
SQLValidDSN
(
LPCSTR
lpszDSN
)
BOOL
WINAPI
SQLValidDSN
(
LPCSTR
lpszDSN
)
{
{
clear_errors
();
clear_errors
();
FIXME
(
"
\n
"
);
FIXME
(
"
%s
\n
"
,
debugstr_a
(
lpszDSN
)
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
return
FALSE
;
return
FALSE
;
}
}
...
@@ -959,7 +978,7 @@ BOOL WINAPI SQLValidDSN(LPCSTR lpszDSN)
...
@@ -959,7 +978,7 @@ BOOL WINAPI SQLValidDSN(LPCSTR lpszDSN)
BOOL
WINAPI
SQLWriteDSNToIniW
(
LPCWSTR
lpszDSN
,
LPCWSTR
lpszDriver
)
BOOL
WINAPI
SQLWriteDSNToIniW
(
LPCWSTR
lpszDSN
,
LPCWSTR
lpszDriver
)
{
{
clear_errors
();
clear_errors
();
FIXME
(
"
\n
"
);
FIXME
(
"
%s %s
\n
"
,
debugstr_w
(
lpszDSN
),
debugstr_w
(
lpszDriver
)
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
return
FALSE
;
return
FALSE
;
}
}
...
@@ -967,7 +986,7 @@ BOOL WINAPI SQLWriteDSNToIniW(LPCWSTR lpszDSN, LPCWSTR lpszDriver)
...
@@ -967,7 +986,7 @@ BOOL WINAPI SQLWriteDSNToIniW(LPCWSTR lpszDSN, LPCWSTR lpszDriver)
BOOL
WINAPI
SQLWriteDSNToIni
(
LPCSTR
lpszDSN
,
LPCSTR
lpszDriver
)
BOOL
WINAPI
SQLWriteDSNToIni
(
LPCSTR
lpszDSN
,
LPCSTR
lpszDriver
)
{
{
clear_errors
();
clear_errors
();
FIXME
(
"
\n
"
);
FIXME
(
"
%s %s
\n
"
,
debugstr_a
(
lpszDSN
),
debugstr_a
(
lpszDriver
)
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
return
FALSE
;
return
FALSE
;
}
}
...
@@ -976,7 +995,8 @@ BOOL WINAPI SQLWriteFileDSNW(LPCWSTR lpszFileName, LPCWSTR lpszAppName,
...
@@ -976,7 +995,8 @@ BOOL WINAPI SQLWriteFileDSNW(LPCWSTR lpszFileName, LPCWSTR lpszAppName,
LPCWSTR
lpszKeyName
,
LPCWSTR
lpszString
)
LPCWSTR
lpszKeyName
,
LPCWSTR
lpszString
)
{
{
clear_errors
();
clear_errors
();
FIXME
(
"
\n
"
);
FIXME
(
"%s %s %s %s
\n
"
,
debugstr_w
(
lpszFileName
),
debugstr_w
(
lpszAppName
),
debugstr_w
(
lpszKeyName
),
debugstr_w
(
lpszString
));
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
return
FALSE
;
return
FALSE
;
}
}
...
@@ -985,7 +1005,8 @@ BOOL WINAPI SQLWriteFileDSN(LPCSTR lpszFileName, LPCSTR lpszAppName,
...
@@ -985,7 +1005,8 @@ BOOL WINAPI SQLWriteFileDSN(LPCSTR lpszFileName, LPCSTR lpszAppName,
LPCSTR
lpszKeyName
,
LPCSTR
lpszString
)
LPCSTR
lpszKeyName
,
LPCSTR
lpszString
)
{
{
clear_errors
();
clear_errors
();
FIXME
(
"
\n
"
);
FIXME
(
"%s %s %s %s
\n
"
,
debugstr_a
(
lpszFileName
),
debugstr_a
(
lpszAppName
),
debugstr_a
(
lpszKeyName
),
debugstr_a
(
lpszString
));
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
return
FALSE
;
return
FALSE
;
}
}
...
...
dlls/odbccp32/odbccp32.spec
View file @
f4c9eac7
2 stdcall SQLInstallDriver(str str str long ptr)
2 stdcall SQLInstallDriver(str str str long ptr)
3 stdcall SQLInstallDriverManager(ptr long ptr)
3 stdcall SQLInstallDriverManager(ptr long ptr)
4 stdcall SQLGetInstalledDrivers(
s
tr long ptr)
4 stdcall SQLGetInstalledDrivers(
p
tr long ptr)
5 stdcall SQLGetAvailableDrivers(str ptr long ptr)
5 stdcall SQLGetAvailableDrivers(str ptr long ptr)
6 stdcall SQLConfigDataSource(ptr long str str)
6 stdcall SQLConfigDataSource(ptr long str str)
7 stdcall SQLRemoveDefaultDataSource()
7 stdcall SQLRemoveDefaultDataSource()
...
@@ -11,7 +11,7 @@
...
@@ -11,7 +11,7 @@
12 stdcall SQLCreateDataSource(ptr str)
12 stdcall SQLCreateDataSource(ptr str)
13 stdcall SQLGetTranslator(ptr str long ptr ptr long ptr ptr)
13 stdcall SQLGetTranslator(ptr str long ptr ptr long ptr ptr)
14 stdcall SQLWritePrivateProfileString(str str str str)
14 stdcall SQLWritePrivateProfileString(str str str str)
15 stdcall SQLGetPrivateProfileString(str str str
s
tr long str)
15 stdcall SQLGetPrivateProfileString(str str str
p
tr long str)
16 stdcall SQLValidDSN(str)
16 stdcall SQLValidDSN(str)
17 stdcall SQLRemoveDriverManager(ptr)
17 stdcall SQLRemoveDriverManager(ptr)
18 stdcall SQLInstallTranslator(str str str ptr long ptr long ptr)
18 stdcall SQLInstallTranslator(str str str ptr long ptr long ptr)
...
@@ -31,7 +31,7 @@
...
@@ -31,7 +31,7 @@
112 stub SelectTransDlg
112 stub SelectTransDlg
202 stdcall SQLInstallDriverW(wstr wstr wstr long ptr)
202 stdcall SQLInstallDriverW(wstr wstr wstr long ptr)
203 stdcall SQLInstallDriverManagerW(ptr long ptr)
203 stdcall SQLInstallDriverManagerW(ptr long ptr)
204 stdcall SQLGetInstalledDriversW(
ws
tr long ptr)
204 stdcall SQLGetInstalledDriversW(
p
tr long ptr)
205 stdcall SQLGetAvailableDriversW(wstr ptr long ptr)
205 stdcall SQLGetAvailableDriversW(wstr ptr long ptr)
206 stdcall SQLConfigDataSourceW(ptr long wstr wstr)
206 stdcall SQLConfigDataSourceW(ptr long wstr wstr)
208 stdcall SQLWriteDSNToIniW(wstr wstr)
208 stdcall SQLWriteDSNToIniW(wstr wstr)
...
@@ -40,7 +40,7 @@
...
@@ -40,7 +40,7 @@
212 stdcall SQLCreateDataSourceW(ptr wstr)
212 stdcall SQLCreateDataSourceW(ptr wstr)
213 stdcall SQLGetTranslatorW(ptr wstr long ptr ptr long ptr ptr)
213 stdcall SQLGetTranslatorW(ptr wstr long ptr ptr long ptr ptr)
214 stdcall SQLWritePrivateProfileStringW(wstr wstr wstr wstr)
214 stdcall SQLWritePrivateProfileStringW(wstr wstr wstr wstr)
215 stdcall SQLGetPrivateProfileStringW(wstr wstr wstr
ws
tr long wstr)
215 stdcall SQLGetPrivateProfileStringW(wstr wstr wstr
p
tr long wstr)
216 stdcall SQLValidDSNW(wstr)
216 stdcall SQLValidDSNW(wstr)
218 stdcall SQLInstallTranslatorW(wstr wstr wstr ptr long ptr long ptr)
218 stdcall SQLInstallTranslatorW(wstr wstr wstr ptr long ptr long ptr)
219 stdcall SQLRemoveTranslatorW(wstr ptr)
219 stdcall SQLRemoveTranslatorW(wstr ptr)
...
...
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