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
d2837d91
Commit
d2837d91
authored
May 19, 2009
by
Huw Davies
Committed by
Alexandre Julliard
May 19, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ole32: Add support for retrieving the data from CF_EMBEDDEDOBJECT.
parent
63eb8104
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
1 deletion
+12
-1
ole2impl.c
dlls/ole32/ole2impl.c
+12
-1
No files found.
dlls/ole32/ole2impl.c
View file @
d2837d91
...
...
@@ -98,7 +98,7 @@ static inline void init_fmtetc(FORMATETC *fmt, CLIPFORMAT cf, TYMED tymed)
*
* Retrieve an object's storage from a variety of sources.
*
* FIXME: CF_
EMBEDDEDOBJECT, CF_
FILENAME.
* FIXME: CF_FILENAME.
*/
static
HRESULT
get_storage
(
IDataObject
*
data
,
IStorage
*
stg
,
UINT
*
src_cf
)
{
...
...
@@ -110,6 +110,17 @@ static HRESULT get_storage(IDataObject *data, IStorage *stg, UINT *src_cf)
*
src_cf
=
0
;
/* CF_EMBEDEDOBJECT */
init_fmtetc
(
&
fmt
,
embedded_object_clipboard_format
,
TYMED_ISTORAGE
);
med
.
tymed
=
TYMED_ISTORAGE
;
med
.
u
.
pstg
=
stg
;
hr
=
IDataObject_GetDataHere
(
data
,
&
fmt
,
&
med
);
if
(
SUCCEEDED
(
hr
))
{
*
src_cf
=
embedded_object_clipboard_format
;
return
hr
;
}
/* CF_EMBEDSOURCE */
init_fmtetc
(
&
fmt
,
embed_source_clipboard_format
,
TYMED_ISTORAGE
);
med
.
tymed
=
TYMED_ISTORAGE
;
...
...
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