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
667ce5a2
Commit
667ce5a2
authored
Nov 29, 2017
by
Huw Davies
Committed by
Alexandre Julliard
Nov 29, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ole32/tests: Show that the storage's CLSID is not modified when saving.
Signed-off-by:
Huw Davies
<
huw@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
251e6eda
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
ole2.c
dlls/ole32/tests/ole2.c
+3
-3
No files found.
dlls/ole32/tests/ole2.c
View file @
667ce5a2
...
@@ -4194,7 +4194,7 @@ static void test_data_cache_save_data(void)
...
@@ -4194,7 +4194,7 @@ static void test_data_cache_save_data(void)
},
},
1
,
1
,
&
CLSID_WineTest
,
1
,
1
,
&
CLSID_WineTest
,
{
{
&
CLSID_WineTest
,
1
,
{
{
"
\2
OlePres000"
,
CF_DIB
,
DVASPECT_CONTENT
,
0
,
NULL
,
0
}
}
&
CLSID_WineTest
Old
,
1
,
{
{
"
\2
OlePres000"
,
CF_DIB
,
DVASPECT_CONTENT
,
0
,
NULL
,
0
}
}
}
}
},
},
{
{
...
@@ -4203,7 +4203,7 @@ static void test_data_cache_save_data(void)
...
@@ -4203,7 +4203,7 @@ static void test_data_cache_save_data(void)
},
},
1
,
1
,
&
CLSID_WineTest
,
1
,
1
,
&
CLSID_WineTest
,
{
{
&
CLSID_WineTest
,
1
,
{
{
"
\2
OlePres000"
,
CF_METAFILEPICT
,
DVASPECT_CONTENT
,
0
,
NULL
,
0
}
}
&
CLSID_WineTest
Old
,
1
,
{
{
"
\2
OlePres000"
,
CF_METAFILEPICT
,
DVASPECT_CONTENT
,
0
,
NULL
,
0
}
}
}
}
},
},
{
{
...
@@ -4238,7 +4238,7 @@ static void test_data_cache_save_data(void)
...
@@ -4238,7 +4238,7 @@ static void test_data_cache_save_data(void)
hr
=
StgCreateDocfileOnILockBytes
(
ilb
,
STGM_CREATE
|
STGM_READWRITE
|
STGM_SHARE_EXCLUSIVE
,
0
,
&
doc
);
hr
=
StgCreateDocfileOnILockBytes
(
ilb
,
STGM_CREATE
|
STGM_READWRITE
|
STGM_SHARE_EXCLUSIVE
,
0
,
&
doc
);
ok
(
hr
==
S_OK
,
"unexpected %#x
\n
"
,
hr
);
ok
(
hr
==
S_OK
,
"unexpected %#x
\n
"
,
hr
);
ILockBytes_Release
(
ilb
);
ILockBytes_Release
(
ilb
);
hr
=
IStorage_SetClass
(
doc
,
pdata
->
clsi
d
);
hr
=
IStorage_SetClass
(
doc
,
&
CLSID_WineTestOl
d
);
ok
(
hr
==
S_OK
,
"unexpected %#x
\n
"
,
hr
);
ok
(
hr
==
S_OK
,
"unexpected %#x
\n
"
,
hr
);
hr
=
IOleCache2_QueryInterface
(
cache
,
&
IID_IPersistStorage
,
(
void
**
)
&
persist
);
hr
=
IOleCache2_QueryInterface
(
cache
,
&
IID_IPersistStorage
,
(
void
**
)
&
persist
);
...
...
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