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
e7857fb5
Commit
e7857fb5
authored
Feb 10, 2022
by
Eric Pouech
Committed by
Alexandre Julliard
Feb 10, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdi.exe16: Enable compilation with long types.
Signed-off-by:
Eric Pouech
<
eric.pouech@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
e443ee51
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
8 deletions
+7
-8
Makefile.in
dlls/gdi.exe16/Makefile.in
+0
-1
gdi.c
dlls/gdi.exe16/gdi.c
+5
-5
printdrv.c
dlls/gdi.exe16/printdrv.c
+2
-2
No files found.
dlls/gdi.exe16/Makefile.in
View file @
e7857fb5
EXTRADEFS
=
-DWINE_NO_LONG_TYPES
MODULE
=
gdi.exe16
IMPORTS
=
user32 advapi32 gdi32 win32u
...
...
dlls/gdi.exe16/gdi.c
View file @
e7857fb5
...
...
@@ -548,7 +548,7 @@ static struct window_surface *create_surface( const BITMAPINFO *info )
surface
->
bits
=
(
char
*
)
info
+
surface
->
info_size
;
memcpy
(
&
surface
->
info
,
info
,
surface
->
info_size
);
TRACE
(
"created %p %
ux%
u for info %p bits %p
\n
"
,
TRACE
(
"created %p %
lux%l
u for info %p bits %p
\n
"
,
surface
,
surface
->
header
.
rect
.
right
,
surface
->
header
.
rect
.
bottom
,
info
,
surface
->
bits
);
return
&
surface
->
header
;
}
...
...
@@ -2138,7 +2138,7 @@ void WINAPI PlayMetaFileRecord16( HDC16 hdc, HANDLETABLE16 *ht, METARECORD *mr,
*/
BOOL16
WINAPI
SetDCHook16
(
HDC16
hdc16
,
FARPROC16
hookProc
,
DWORD
dwHookData
)
{
FIXME
(
"%04x %p %x: not supported
\n
"
,
hdc16
,
hookProc
,
dwHookData
);
FIXME
(
"%04x %p %
l
x: not supported
\n
"
,
hdc16
,
hookProc
,
dwHookData
);
return
FALSE
;
}
...
...
@@ -2204,7 +2204,7 @@ UINT16 WINAPI GetBoundsRect16( HDC16 hdc, LPRECT16 rect, UINT16 flags)
*/
WORD
WINAPI
EngineEnumerateFont16
(
LPSTR
fontname
,
FARPROC16
proc
,
DWORD
data
)
{
FIXME
(
"(%s,%p,%x),stub
\n
"
,
fontname
,
proc
,
data
);
FIXME
(
"(%s,%p,%
l
x),stub
\n
"
,
fontname
,
proc
,
data
);
return
0
;
}
...
...
@@ -2251,7 +2251,7 @@ WORD WINAPI EngineRealizeFont16(LPLOGFONT16 lplogFont, LPTEXTXFORM16 lptextxform
*/
WORD
WINAPI
EngineRealizeFontExt16
(
LONG
l1
,
LONG
l2
,
LONG
l3
,
LONG
l4
)
{
FIXME
(
"(%08
x,%08x,%08x,%08
x),stub
\n
"
,
l1
,
l2
,
l3
,
l4
);
FIXME
(
"(%08
lx,%08lx,%08lx,%08l
x),stub
\n
"
,
l1
,
l2
,
l3
,
l4
);
return
0
;
}
...
...
@@ -3668,7 +3668,7 @@ BOOL16 WINAPI SetLayout16( HDC16 hdc, DWORD layout )
*/
BOOL16
WINAPI
SetSolidBrush16
(
HBRUSH16
hBrush
,
COLORREF
newColor
)
{
FIXME
(
"%04x %08x no longer supported
\n
"
,
hBrush
,
newColor
);
FIXME
(
"%04x %08
l
x no longer supported
\n
"
,
hBrush
,
newColor
);
return
FALSE
;
}
...
...
dlls/gdi.exe16/printdrv.c
View file @
e7857fb5
...
...
@@ -355,7 +355,7 @@ INT16 WINAPI EndSpoolPage16(HPJOB16 hJob)
*/
DWORD
WINAPI
GetSpoolJob16
(
int
nOption
,
LONG
param
)
{
TRACE
(
"In GetSpoolJob param 0x%x noption %d
\n
"
,
param
,
nOption
);
TRACE
(
"In GetSpoolJob param 0x%
l
x noption %d
\n
"
,
param
,
nOption
);
return
0
;
}
...
...
@@ -509,7 +509,7 @@ DWORD WINAPI DrvSetPrinterData16(LPSTR lpPrinter, LPSTR lpProfile,
TRACE
(
"profile %s
\n
"
,
lpProfile
);
else
TRACE
(
"profile %p
\n
"
,
lpProfile
);
TRACE
(
"lpType %08x
\n
"
,
lpType
);
TRACE
(
"lpType %08
l
x
\n
"
,
lpType
);
if
((
!
lpPrinter
)
||
(
!
lpProfile
)
||
(
PtrToUlong
(
lpProfile
)
==
INT_PD_DEFAULT_MODEL
)
||
(
HIWORD
(
lpProfile
)
&&
...
...
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