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
c54cad85
Commit
c54cad85
authored
Feb 16, 2022
by
Eric Pouech
Committed by
Alexandre Julliard
Feb 16, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
odbccp32: Enable compilation with long types.
Signed-off-by:
Eric Pouech
<
eric.pouech@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
773bdcf7
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
7 deletions
+6
-7
Makefile.in
dlls/odbccp32/Makefile.in
+0
-1
odbccp32.c
dlls/odbccp32/odbccp32.c
+6
-6
No files found.
dlls/odbccp32/Makefile.in
View file @
c54cad85
EXTRADEFS
=
-DWINE_NO_LONG_TYPES
MODULE
=
odbccp32.dll
IMPORTLIB
=
odbccp32
IMPORTS
=
uuid advapi32
...
...
dlls/odbccp32/odbccp32.c
View file @
c54cad85
...
...
@@ -108,7 +108,7 @@ static inline WCHAR *heap_strdupAtoW(const char *str)
BOOL
WINAPI
ODBCCPlApplet
(
LONG
i
,
LONG
j
,
LONG
*
p1
,
LONG
*
p2
)
{
clear_errors
();
FIXME
(
"( %
d %
d %p %p) : stub!
\n
"
,
i
,
j
,
p1
,
p2
);
FIXME
(
"( %
ld %l
d %p %p) : stub!
\n
"
,
i
,
j
,
p1
,
p2
);
return
FALSE
;
}
...
...
@@ -977,7 +977,7 @@ static void write_registry_values(const WCHAR *regkey, const WCHAR *driver, cons
/* Store Usage */
size
=
sizeof
(
usagecount
);
RegGetValueA
(
hkeydriver
,
NULL
,
"UsageCount"
,
RRF_RT_DWORD
,
&
type
,
&
usagecount
,
&
size
);
TRACE
(
"Usage count %d
\n
"
,
usagecount
);
TRACE
(
"Usage count %
l
d
\n
"
,
usagecount
);
for
(;
*
p
;
p
+=
lstrlenW
(
p
)
+
1
)
{
...
...
@@ -1399,14 +1399,14 @@ BOOL WINAPI SQLManageDataSources(HWND hwnd)
SQLRETURN
WINAPI
SQLPostInstallerErrorW
(
DWORD
fErrorCode
,
LPCWSTR
szErrorMsg
)
{
FIXME
(
"%u %s
\n
"
,
fErrorCode
,
debugstr_w
(
szErrorMsg
));
FIXME
(
"%
l
u %s
\n
"
,
fErrorCode
,
debugstr_w
(
szErrorMsg
));
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
return
FALSE
;
}
SQLRETURN
WINAPI
SQLPostInstallerError
(
DWORD
fErrorCode
,
LPCSTR
szErrorMsg
)
{
FIXME
(
"%u %s
\n
"
,
fErrorCode
,
debugstr_a
(
szErrorMsg
));
FIXME
(
"%
l
u %s
\n
"
,
fErrorCode
,
debugstr_a
(
szErrorMsg
));
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
return
FALSE
;
}
...
...
@@ -1460,7 +1460,7 @@ BOOL WINAPI SQLRemoveDriverW(LPCWSTR drivername, BOOL remove_dsn, LPDWORD usage_
size
=
sizeof
(
usagecount
);
RegGetValueA
(
hkeydriver
,
NULL
,
"UsageCount"
,
RRF_RT_DWORD
,
&
type
,
&
usagecount
,
&
size
);
TRACE
(
"Usage count %d
\n
"
,
usagecount
);
TRACE
(
"Usage count %
l
d
\n
"
,
usagecount
);
count
=
usagecount
-
1
;
if
(
count
)
{
...
...
@@ -1584,7 +1584,7 @@ BOOL WINAPI SQLRemoveTranslatorW(const WCHAR *translator, DWORD *usage_count)
size
=
sizeof
(
usagecount
);
RegGetValueA
(
hkeydriver
,
NULL
,
"UsageCount"
,
RRF_RT_DWORD
,
&
type
,
&
usagecount
,
&
size
);
TRACE
(
"Usage count %d
\n
"
,
usagecount
);
TRACE
(
"Usage count %
l
d
\n
"
,
usagecount
);
count
=
usagecount
-
1
;
if
(
count
)
{
...
...
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