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
7fd58cb1
Commit
7fd58cb1
authored
Feb 13, 2004
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Get rid of a few 16-bit exports in gdi32.
parent
7fc37b16
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
19 deletions
+7
-19
gdi32.spec
dlls/gdi/gdi32.spec
+0
-3
wnd.c
dlls/ttydrv/wnd.c
+7
-16
No files found.
dlls/gdi/gdi32.spec
View file @
7fd58cb1
...
...
@@ -426,12 +426,9 @@
@ stdcall DrvSetPrinterData16(str str long ptr long)
@ stdcall ExcludeVisRect16(long long long long long)
@ stdcall GetDCState16(long)
@ stdcall InquireVisRgn16(long)
@ stdcall IntersectVisRect16(long long long long long)
@ stdcall IsDCCurrentPalette16(long)
@ stdcall OpenJob16(str str long)
@ stdcall RestoreVisRgn16(long)
@ stdcall SaveVisRgn16(long)
@ stdcall SelectVisRgn16(long long)
@ stdcall SetDCHook(long ptr long)
@ stdcall SetDCOrg16(long long long)
...
...
dlls/ttydrv/wnd.c
View file @
7fd58cb1
...
...
@@ -377,7 +377,8 @@ BOOL TTYDRV_GetDC( HWND hwnd, HDC hdc, HRGN hrgn, DWORD flags )
SetDCOrg16
(
HDC_16
(
hdc
),
org
.
x
,
org
.
y
);
if
(
SetHookFlags16
(
HDC_16
(
hdc
),
DCHF_VALIDATEVISRGN
))
/* DC was dirty */
if
(
SetHookFlags16
(
HDC_16
(
hdc
),
DCHF_VALIDATEVISRGN
)
||
/* DC was dirty */
(
flags
&
(
DCX_EXCLUDERGN
|
DCX_INTERSECTRGN
)
))
{
if
(
flags
&
DCX_PARENTCLIP
)
{
...
...
@@ -410,23 +411,13 @@ BOOL TTYDRV_GetDC( HWND hwnd, HDC hdc, HRGN hrgn, DWORD flags )
hrgnVisible
=
DCE_GetVisRgn
(
hwnd
,
flags
,
0
,
0
);
OffsetRgn
(
hrgnVisible
,
org
.
x
,
org
.
y
);
}
SelectVisRgn16
(
HDC_16
(
hdc
),
HRGN_16
(
hrgnVisible
)
);
}
/* apply additional region operation (if any) */
if
(
flags
&
(
DCX_EXCLUDERGN
|
DCX_INTERSECTRGN
)
)
{
if
(
!
hrgnVisible
)
hrgnVisible
=
CreateRectRgn
(
0
,
0
,
0
,
0
);
TRACE
(
"
\t
saved VisRgn, clipRgn = %p
\n
"
,
hrgn
);
/* apply additional region operation (if any) */
if
(
flags
&
(
DCX_EXCLUDERGN
|
DCX_INTERSECTRGN
)
)
CombineRgn
(
hrgnVisible
,
hrgnVisible
,
hrgn
,
(
flags
&
DCX_INTERSECTRGN
)
?
RGN_AND
:
RGN_DIFF
);
SaveVisRgn16
(
HDC_16
(
hdc
)
);
CombineRgn
(
hrgnVisible
,
hrgn
,
0
,
RGN_COPY
);
OffsetRgn
(
hrgnVisible
,
org
.
x
,
org
.
y
);
CombineRgn
(
hrgnVisible
,
HRGN_32
(
InquireVisRgn16
(
HDC_16
(
hdc
))),
hrgnVisible
,
(
flags
&
DCX_INTERSECTRGN
)
?
RGN_AND
:
RGN_DIFF
);
SelectVisRgn16
(
HDC_16
(
hdc
),
HRGN_16
(
hrgnVisible
));
SelectVisRgn16
(
HDC_16
(
hdc
),
HRGN_16
(
hrgnVisible
)
);
}
if
(
hrgnVisible
)
DeleteObject
(
hrgnVisible
);
...
...
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