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
94ee1ebd
Commit
94ee1ebd
authored
Dec 09, 2004
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove a few no longer needed 16-bit exports from gdi32.
parent
65af6985
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
15 deletions
+14
-15
gdi32.spec
dlls/gdi/gdi32.spec
+0
-4
nonclient.c
windows/nonclient.c
+14
-11
No files found.
dlls/gdi/gdi32.spec
View file @
94ee1ebd
...
...
@@ -425,14 +425,10 @@
@ stdcall DeleteMetaFile16(long)
@ stdcall DrvGetPrinterData16(str str ptr ptr long ptr)
@ stdcall DrvSetPrinterData16(str str long ptr long)
@ stdcall ExcludeVisRect16(long long long long long)
@ stdcall GetDCState16(long)
@ stdcall IntersectVisRect16(long long long long long)
@ stdcall IsDCCurrentPalette16(long)
@ stdcall OpenJob16(str str long)
@ stdcall SelectVisRgn16(long long)
@ stdcall SetDCHook(long ptr long)
@ stdcall SetDCOrg16(long long long)
@ stdcall SetDCState16(long long)
@ stdcall SetHookFlags16(long long)
@ stdcall WriteSpool16(long ptr long)
...
...
windows/nonclient.c
View file @
94ee1ebd
...
...
@@ -943,6 +943,7 @@ static void NC_DoNCPaint( HWND hwnd, HRGN clip, BOOL suppress_menupaint )
WND
*
wndPtr
;
DWORD
dwStyle
,
dwExStyle
;
WORD
flags
;
HRGN
hrgn
;
RECT
rectClient
,
rectWindow
;
int
has_menu
;
...
...
@@ -969,19 +970,21 @@ static void NC_DoNCPaint( HWND hwnd, HRGN clip, BOOL suppress_menupaint )
Now, how is the "system" supposed to tell what happened?
*/
if
(
!
(
hdc
=
GetDCEx
(
hwnd
,
(
clip
>
(
HRGN
)
1
)
?
clip
:
0
,
DCX_USESTYLE
|
DCX_WINDOW
|
((
clip
>
(
HRGN
)
1
)
?
(
DCX_INTERSECTRGN
|
DCX_KEEPCLIPRGN
)
:
0
)
)))
return
;
if
(
ExcludeVisRect16
(
HDC_16
(
hdc
),
rectClient
.
left
-
rectWindow
.
left
,
rectClient
.
top
-
rectWindow
.
top
,
rectClient
.
right
-
rectWindow
.
left
,
rectClient
.
bottom
-
rectWindow
.
top
)
==
NULLREGION
)
hrgn
=
CreateRectRgn
(
rectClient
.
left
-
rectWindow
.
left
,
rectClient
.
top
-
rectWindow
.
top
,
rectClient
.
right
-
rectWindow
.
left
,
rectClient
.
bottom
-
rectWindow
.
top
);
if
(
clip
>
(
HRGN
)
1
)
{
ReleaseDC
(
hwnd
,
hdc
);
return
;
CombineRgn
(
hrgn
,
clip
,
hrgn
,
RGN_DIFF
);
hdc
=
GetDCEx
(
hwnd
,
hrgn
,
DCX_USESTYLE
|
DCX_WINDOW
|
DCX_INTERSECTRGN
)
;
}
else
{
hdc
=
GetDCEx
(
hwnd
,
hrgn
,
DCX_USESTYLE
|
DCX_WINDOW
|
DCX_EXCLUDERGN
);
}
if
(
!
hdc
)
return
;
rect
.
top
=
rect
.
left
=
0
;
rect
.
right
=
rectWindow
.
right
-
rectWindow
.
left
;
...
...
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