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
ca4cc572
Commit
ca4cc572
authored
Feb 18, 2022
by
Eric Pouech
Committed by
Alexandre Julliard
Feb 18, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
typelib.dll16: Enable compilation with long types.
Signed-off-by:
Eric Pouech
<
eric.pouech@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
f2eac52c
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
4 deletions
+3
-4
Makefile.in
dlls/typelib.dll16/Makefile.in
+0
-1
typelib.c
dlls/typelib.dll16/typelib.c
+3
-3
No files found.
dlls/typelib.dll16/Makefile.in
View file @
ca4cc572
EXTRADEFS
=
-DWINE_NO_LONG_TYPES
MODULE
=
typelib.dll16
IMPORTS
=
oleaut32 advapi32
EXTRADLLFLAGS
=
-m16
-Wb
,--main-module,oleaut32.dll
...
...
dlls/typelib.dll16/typelib.c
View file @
ca4cc572
...
...
@@ -82,14 +82,14 @@ QueryPathOfRegTypeLib16(
TRACE
(
"
\n
"
);
if
(
HIWORD
(
guid
))
{
sprintf
(
typelibkey
,
"SOFTWARE
\\
Classes
\\
Typelib
\\
{%08lx-%04x-%04x-%02x%02x-%02x%02x%02x%02x%02x%02x}
\\
%d.%d
\\
%x
\\
win16"
,
sprintf
(
typelibkey
,
"SOFTWARE
\\
Classes
\\
Typelib
\\
{%08lx-%04x-%04x-%02x%02x-%02x%02x%02x%02x%02x%02x}
\\
%d.%d
\\
%
l
x
\\
win16"
,
guid
->
Data1
,
guid
->
Data2
,
guid
->
Data3
,
guid
->
Data4
[
0
],
guid
->
Data4
[
1
],
guid
->
Data4
[
2
],
guid
->
Data4
[
3
],
guid
->
Data4
[
4
],
guid
->
Data4
[
5
],
guid
->
Data4
[
6
],
guid
->
Data4
[
7
],
wMaj
,
wMin
,
lcid
);
}
else
{
sprintf
(
xguid
,
"<guid 0x%08x>"
,(
DWORD
)
guid
);
FIXME
(
"(%s,%d,%d,0x%04x,%p),can't handle non-string guids.
\n
"
,
xguid
,
wMaj
,
wMin
,
lcid
,
path
);
sprintf
(
xguid
,
"<guid 0x%08
l
x>"
,(
DWORD
)
guid
);
FIXME
(
"(%s,%d,%d,0x%04
l
x,%p),can't handle non-string guids.
\n
"
,
xguid
,
wMaj
,
wMin
,
lcid
,
path
);
return
E_FAIL
;
}
plen
=
sizeof
(
pathname
);
...
...
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