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
b644c853
Commit
b644c853
authored
Jul 26, 2010
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdi.exe: Disable the remaining 16-bit visible region functions, they can't work.
parent
33b6ad7f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
32 deletions
+6
-32
gdi.c
dlls/gdi.exe16/gdi.c
+6
-32
No files found.
dlls/gdi.exe16/gdi.c
View file @
b644c853
...
...
@@ -1776,7 +1776,8 @@ BOOL16 WINAPI PtVisible16( HDC16 hdc, INT16 x, INT16 y )
*/
INT16
WINAPI
SelectVisRgn16
(
HDC16
hdc
,
HRGN16
hrgn
)
{
return
SelectVisRgn
(
HDC_32
(
hdc
),
HRGN_32
(
hrgn
)
);
FIXME
(
"%04x %04x no longer supported
\n
"
,
hdc
,
hrgn
);
return
ERROR
;
}
...
...
@@ -3703,21 +3704,8 @@ INT16 WINAPI IntersectVisRect16( HDC16 hdc16, INT16 left, INT16 top, INT16 right
*/
HRGN16
WINAPI
SaveVisRgn16
(
HDC16
hdc16
)
{
struct
saved_visrgn
*
saved
;
HDC
hdc
=
HDC_32
(
hdc16
);
TRACE
(
"%p
\n
"
,
hdc
);
if
(
!
(
saved
=
HeapAlloc
(
GetProcessHeap
(),
0
,
sizeof
(
*
saved
)
)))
return
0
;
if
(
!
(
saved
->
hrgn
=
CreateRectRgn
(
0
,
0
,
0
,
0
)))
{
HeapFree
(
GetProcessHeap
(),
0
,
saved
);
return
0
;
}
saved
->
hdc
=
hdc
;
GetRandomRgn
(
hdc
,
saved
->
hrgn
,
SYSRGN
);
list_add_head
(
&
saved_regions
,
&
saved
->
entry
);
return
HRGN_16
(
saved
->
hrgn
);
FIXME
(
"%04x no longer supported
\n
"
,
hdc16
);
return
0
;
}
...
...
@@ -3726,22 +3714,8 @@ HRGN16 WINAPI SaveVisRgn16( HDC16 hdc16 )
*/
INT16
WINAPI
RestoreVisRgn16
(
HDC16
hdc16
)
{
struct
saved_visrgn
*
saved
;
HDC
hdc
=
HDC_32
(
hdc16
);
INT16
ret
=
ERROR
;
TRACE
(
"%p
\n
"
,
hdc
);
LIST_FOR_EACH_ENTRY
(
saved
,
&
saved_regions
,
struct
saved_visrgn
,
entry
)
{
if
(
saved
->
hdc
!=
hdc
)
continue
;
ret
=
SelectVisRgn
(
hdc
,
saved
->
hrgn
);
list_remove
(
&
saved
->
entry
);
DeleteObject
(
saved
->
hrgn
);
HeapFree
(
GetProcessHeap
(),
0
,
saved
);
break
;
}
return
ret
;
FIXME
(
"%04x no longer supported
\n
"
,
hdc16
);
return
ERROR
;
}
...
...
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