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
7490f922
Commit
7490f922
authored
Jun 22, 2009
by
Huw Davies
Committed by
Alexandre Julliard
Jun 23, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ole32/tests: Add a test for enhanced metafile retrieval.
parent
5c97db9d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
clipboard.c
dlls/ole32/tests/clipboard.c
+9
-0
No files found.
dlls/ole32/tests/clipboard.c
View file @
7490f922
...
...
@@ -1235,6 +1235,8 @@ static void test_nonole_clipboard(void)
FORMATETC
fmt
;
HGLOBAL
h
,
hblob
,
htext
;
HENHMETAFILE
emf
;
STGMEDIUM
med
;
DWORD
obj_type
;
r
=
OpenClipboard
(
NULL
);
ok
(
r
,
"gle %d
\n
"
,
GetLastError
());
...
...
@@ -1349,6 +1351,13 @@ static void test_nonole_clipboard(void)
ok
(
hr
==
S_FALSE
,
"got %08x
\n
"
,
hr
);
IEnumFORMATETC_Release
(
enum_fmt
);
InitFormatEtc
(
fmt
,
CF_ENHMETAFILE
,
TYMED_ENHMF
);
hr
=
IDataObject_GetData
(
get
,
&
fmt
,
&
med
);
ok
(
hr
==
S_OK
,
"got %08x
\n
"
,
hr
);
obj_type
=
GetObjectType
(
U
(
med
).
hEnhMetaFile
);
ok
(
obj_type
==
OBJ_ENHMETAFILE
,
"got %d
\n
"
,
obj_type
);
ReleaseStgMedium
(
&
med
);
IDataObject_Release
(
get
);
r
=
OpenClipboard
(
NULL
);
...
...
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