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
0c63f40b
Commit
0c63f40b
authored
Oct 16, 2013
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Oct 16, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdi32/tests: Fix metafile tests compilation with __WINESRC__ defined.
parent
c5807283
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
metafile.c
dlls/gdi32/tests/metafile.c
+4
-4
No files found.
dlls/gdi32/tests/metafile.c
View file @
0c63f40b
...
...
@@ -2718,7 +2718,7 @@ static HENHMETAFILE create_converted_emf(const METAFILEPICT *mfp)
UINT
size
;
LPBYTE
pBits
;
hdcMf
=
CreateMetaFile
(
NULL
);
hdcMf
=
CreateMetaFile
A
(
NULL
);
ok
(
hdcMf
!=
NULL
,
"CreateMetaFile failed with error %d
\n
"
,
GetLastError
());
ret
=
LineTo
(
hdcMf
,
(
INT
)
LINE_X
,
(
INT
)
LINE_Y
);
ok
(
ret
,
"LineTo failed with error %d
\n
"
,
GetLastError
());
...
...
@@ -2898,7 +2898,7 @@ static void test_SetWinMetaFileBits(void)
HDC
dc
;
LONG
diffx
,
diffy
;
wmfDC
=
CreateMetaFile
(
NULL
);
wmfDC
=
CreateMetaFile
A
(
NULL
);
ok
(
wmfDC
!=
NULL
,
"CreateMetaFile failed
\n
"
);
if
(
!
wmfDC
)
return
;
...
...
@@ -3245,7 +3245,7 @@ static void test_gdiis(void)
HMODULE
hgdi32
;
/* resolve all the functions */
hgdi32
=
GetModuleHandle
(
"gdi32
"
);
hgdi32
=
GetModuleHandle
A
(
"gdi32.dll
"
);
pGdiIsMetaPrintDC
=
(
void
*
)
GetProcAddress
(
hgdi32
,
"GdiIsMetaPrintDC"
);
pGdiIsMetaFileDC
=
(
void
*
)
GetProcAddress
(
hgdi32
,
"GdiIsMetaFileDC"
);
pGdiIsPlayMetafileDC
=
(
void
*
)
GetProcAddress
(
hgdi32
,
"GdiIsPlayMetafileDC"
);
...
...
@@ -3262,7 +3262,7 @@ static void test_gdiis(void)
ok
(
!
pGdiIsPlayMetafileDC
(
NULL
),
"isplaymetafile with NULL parameter
\n
"
);
/* try with a metafile */
hmfDC
=
CreateMetaFile
(
NULL
);
hmfDC
=
CreateMetaFile
A
(
NULL
);
ok
(
!
pGdiIsMetaPrintDC
(
hmfDC
),
"ismetaprint on metafile
\n
"
);
ok
(
pGdiIsMetaFileDC
(
hmfDC
),
"ismetafile on metafile
\n
"
);
ok
(
!
pGdiIsPlayMetafileDC
(
hmfDC
),
"isplaymetafile on metafile
\n
"
);
...
...
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