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
278899d1
Commit
278899d1
authored
Nov 04, 2011
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdi32: Return failure when GetPixel is not supported.
parent
cc221b28
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
driver.c
dlls/gdi32/driver.c
+1
-1
dc.c
dlls/gdi32/tests/dc.c
+3
-0
No files found.
dlls/gdi32/driver.c
View file @
278899d1
...
...
@@ -402,7 +402,7 @@ static UINT nulldrv_GetOutlineTextMetrics( PHYSDEV dev, UINT size, LPOUTLINETEXT
static
COLORREF
nulldrv_GetPixel
(
PHYSDEV
dev
,
INT
x
,
INT
y
)
{
return
0
;
return
CLR_INVALID
;
}
static
INT
nulldrv_GetPixelFormat
(
PHYSDEV
dev
)
...
...
dlls/gdi32/tests/dc.c
View file @
278899d1
...
...
@@ -873,6 +873,9 @@ static void test_printer_dc(void)
ok
(
BitBlt
(
memdc
,
10
,
10
,
20
,
20
,
display_memdc
,
0
,
0
,
SRCCOPY
),
"BitBlt failed
\n
"
);
ok
(
BitBlt
(
display_memdc
,
10
,
10
,
20
,
20
,
memdc
,
0
,
0
,
SRCCOPY
),
"BitBlt failed
\n
"
);
ret
=
GetPixel
(
hdc
,
0
,
0
);
ok
(
ret
==
CLR_INVALID
,
"wrong pixel value %x
\n
"
,
ret
);
DeleteDC
(
memdc
);
DeleteDC
(
display_memdc
);
DeleteDC
(
hdc
);
...
...
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