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
a0249bab
Commit
a0249bab
authored
Jul 17, 2008
by
Vincent Povirk
Committed by
Alexandre Julliard
Jul 21, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ole32: Always return false when asked if NULL is the current clipboard.
parent
38c5185d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
clipboard.c
dlls/ole32/clipboard.c
+3
-0
clipboard.c
dlls/ole32/tests/clipboard.c
+1
-1
No files found.
dlls/ole32/clipboard.c
View file @
a0249bab
...
...
@@ -583,6 +583,9 @@ HRESULT WINAPI OleIsCurrentClipboard(IDataObject *pDataObject)
if
(
!
theOleClipboard
)
return
E_OUTOFMEMORY
;
if
(
pDataObject
==
NULL
)
return
S_FALSE
;
return
(
pDataObject
==
theOleClipboard
->
pIDataObjectSrc
)
?
S_OK
:
S_FALSE
;
}
...
...
dlls/ole32/tests/clipboard.c
View file @
a0249bab
...
...
@@ -472,7 +472,7 @@ static void test_set_clipboard(void)
hr
=
OleIsCurrentClipboard
(
data2
);
ok
(
hr
==
S_FALSE
,
"did not expect current clipboard to be data2, hr = 0x%08x
\n
"
,
hr
);
hr
=
OleIsCurrentClipboard
(
NULL
);
todo_wine
ok
(
hr
==
S_FALSE
,
"expect S_FALSE, hr = 0x%08x
\n
"
,
hr
);
ok
(
hr
==
S_FALSE
,
"expect S_FALSE, hr = 0x%08x
\n
"
,
hr
);
ok
(
OleSetClipboard
(
NULL
)
==
S_OK
,
"failed to clear clipboard, hr = 0x%08x
\n
"
,
hr
);
...
...
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