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
68d30e9a
Commit
68d30e9a
authored
Jan 12, 2007
by
Bill Medland
Committed by
Alexandre Julliard
Jan 12, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
odbccp32: Remove A->W cross-call.
parent
259c06ff
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
odbccp32.c
dlls/odbccp32/odbccp32.c
+5
-2
No files found.
dlls/odbccp32/odbccp32.c
View file @
68d30e9a
...
...
@@ -36,6 +36,9 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
odbc
);
/* Registry key namess */
static
const
WCHAR
drivers_key
[]
=
{
'S'
,
'o'
,
'f'
,
't'
,
'w'
,
'a'
,
'r'
,
'e'
,
'\\'
,
'O'
,
'D'
,
'B'
,
'C'
,
'\\'
,
'O'
,
'D'
,
'B'
,
'C'
,
'I'
,
'N'
,
'S'
,
'T'
,
'.'
,
'I'
,
'N'
,
'I'
,
'\\'
,
'O'
,
'D'
,
'B'
,
'C'
,
' '
,
'D'
,
'r'
,
'i'
,
'v'
,
'e'
,
'r'
,
's'
,
0
};
/* MSDN documentation suggests that the error subsystem handles errors 1 to 8
* only and experimentation (Windows 2000) shows that the errors are process-
* wide so go for the simple solution; static arrays.
...
...
@@ -282,8 +285,8 @@ BOOL WINAPI SQLGetInstalledDriversW(LPWSTR lpszBuf, WORD cbBufMax,
{
push_error
(
ODBC_ERROR_INVALID_BUFF_LEN
,
odbc_error_invalid_buff_len
);
}
else
if
((
reg_ret
=
RegOpenKeyEx
A
(
HKEY_LOCAL_MACHINE
/* The drivers does not depend on the config mode */
,
"Software
\\
ODBC
\\
ODBCINST.INI
\\
ODBC Drivers"
,
0
,
KEY_READ
/* Maybe overkill */
,
else
if
((
reg_ret
=
RegOpenKeyEx
W
(
HKEY_LOCAL_MACHINE
/* The drivers does not depend on the config mode */
,
drivers_key
,
0
,
KEY_READ
/* Maybe overkill */
,
&
hDrivers
))
==
ERROR_SUCCESS
)
{
DWORD
index
=
0
;
...
...
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