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
5492fd2b
Commit
5492fd2b
authored
Mar 31, 2009
by
Huw Davies
Committed by
Alexandre Julliard
Mar 31, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ole32/tests: On win9x GetClipboardData returns a new handle.
parent
2c6be952
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
clipboard.c
dlls/ole32/tests/clipboard.c
+6
-2
No files found.
dlls/ole32/tests/clipboard.c
View file @
5492fd2b
...
@@ -746,7 +746,9 @@ static void test_set_clipboard(void)
...
@@ -746,7 +746,9 @@ static void test_set_clipboard(void)
h
=
SetClipboardData
(
cf_onemore
,
hblob
);
h
=
SetClipboardData
(
cf_onemore
,
hblob
);
ok
(
h
==
hblob
,
"got %p
\n
"
,
h
);
ok
(
h
==
hblob
,
"got %p
\n
"
,
h
);
h
=
GetClipboardData
(
cf_onemore
);
h
=
GetClipboardData
(
cf_onemore
);
ok
(
h
==
hblob
,
"got %p
\n
"
,
h
);
ok
(
h
==
hblob
||
broken
(
h
!=
NULL
),
/* win9x */
"got %p
\n
"
,
h
);
CloseClipboard
();
CloseClipboard
();
hr
=
OleFlushClipboard
();
hr
=
OleFlushClipboard
();
...
@@ -761,7 +763,9 @@ static void test_set_clipboard(void)
...
@@ -761,7 +763,9 @@ static void test_set_clipboard(void)
/* format should survive the flush */
/* format should survive the flush */
OpenClipboard
(
NULL
);
OpenClipboard
(
NULL
);
h
=
GetClipboardData
(
cf_onemore
);
h
=
GetClipboardData
(
cf_onemore
);
ok
(
h
==
hblob
,
"got %p
\n
"
,
h
);
ok
(
h
==
hblob
||
broken
(
h
!=
NULL
),
/* win9x */
"got %p
\n
"
,
h
);
CloseClipboard
();
CloseClipboard
();
test_cf_dataobject
(
NULL
);
test_cf_dataobject
(
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