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
83301929
Commit
83301929
authored
Sep 14, 2018
by
Francois Gouget
Committed by
Alexandre Julliard
Sep 14, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ole32/tests: Fix spelling of a variable name.
Signed-off-by:
Francois Gouget
<
fgouget@free.fr
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
ea8a8804
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
ole2.c
dlls/ole32/tests/ole2.c
+7
-7
No files found.
dlls/ole32/tests/ole2.c
View file @
83301929
...
...
@@ -4620,7 +4620,7 @@ static void test_OleCreateStaticFromData(void)
IOleObject
*
ole_obj
=
NULL
;
IStorage
*
storage
;
ILockBytes
*
ilb
;
IPersist
*
p
re
sist
;
IPersist
*
p
er
sist
;
CLSID
clsid
;
STATSTG
statstg
;
int
enumerated_streams
,
matched_streams
;
...
...
@@ -4699,9 +4699,9 @@ static void test_OleCreateStaticFromData(void)
hr
=
OleCreateStaticFromData
(
&
DataObject
,
&
IID_IOleObject
,
OLERENDER_FORMAT
,
dib_fmt
,
NULL
,
storage
,
(
void
**
)
&
ole_obj
);
ok
(
hr
==
S_OK
,
"OleCreateStaticFromData failed: 0x%08x.
\n
"
,
hr
);
hr
=
IOleObject_QueryInterface
(
ole_obj
,
&
IID_IPersist
,
(
void
**
)
&
p
re
sist
);
hr
=
IOleObject_QueryInterface
(
ole_obj
,
&
IID_IPersist
,
(
void
**
)
&
p
er
sist
);
ok
(
hr
==
S_OK
,
"IOleObject_QueryInterface failed: 0x%08x.
\n
"
,
hr
);
hr
=
IPersist_GetClassID
(
p
re
sist
,
&
clsid
);
hr
=
IPersist_GetClassID
(
p
er
sist
,
&
clsid
);
ok
(
hr
==
S_OK
,
"IPersist_GetClassID failed: 0x%08x.
\n
"
,
hr
);
ok
(
IsEqualCLSID
(
&
clsid
,
&
CLSID_Picture_Dib
),
"Got wrong clsid: %s, expected: %s.
\n
"
,
wine_dbgstr_guid
(
&
clsid
),
wine_dbgstr_guid
(
&
CLSID_Picture_Dib
));
...
...
@@ -4717,7 +4717,7 @@ static void test_OleCreateStaticFromData(void)
ok
(
enumerated_streams
==
stg_def_dib
.
stream_count
,
"created %d != def streams %d
\n
"
,
enumerated_streams
,
stg_def_dib
.
stream_count
);
ReleaseStgMedium
(
&
stgmed
);
IPersist_Release
(
p
re
sist
);
IPersist_Release
(
p
er
sist
);
IStorage_Release
(
storage
);
IOleObject_Release
(
ole_obj
);
...
...
@@ -4733,9 +4733,9 @@ static void test_OleCreateStaticFromData(void)
hr
=
OleCreateStaticFromData
(
&
DataObject
,
&
IID_IOleObject
,
OLERENDER_FORMAT
,
emf_fmt
,
NULL
,
storage
,
(
void
**
)
&
ole_obj
);
ok
(
hr
==
S_OK
,
"OleCreateStaticFromData failed: 0x%08x.
\n
"
,
hr
);
hr
=
IOleObject_QueryInterface
(
ole_obj
,
&
IID_IPersist
,
(
void
**
)
&
p
re
sist
);
hr
=
IOleObject_QueryInterface
(
ole_obj
,
&
IID_IPersist
,
(
void
**
)
&
p
er
sist
);
ok
(
hr
==
S_OK
,
"IOleObject_QueryInterface failed: 0x%08x.
\n
"
,
hr
);
hr
=
IPersist_GetClassID
(
p
re
sist
,
&
clsid
);
hr
=
IPersist_GetClassID
(
p
er
sist
,
&
clsid
);
ok
(
hr
==
S_OK
,
"IPersist_GetClassID failed: 0x%08x.
\n
"
,
hr
);
ok
(
IsEqualCLSID
(
&
clsid
,
&
CLSID_Picture_EnhMetafile
),
"Got wrong clsid: %s, expected: %s.
\n
"
,
wine_dbgstr_guid
(
&
clsid
),
wine_dbgstr_guid
(
&
CLSID_Picture_EnhMetafile
));
...
...
@@ -4751,7 +4751,7 @@ static void test_OleCreateStaticFromData(void)
ok
(
enumerated_streams
==
stg_def_emf
.
stream_count
,
"created %d != def streams %d
\n
"
,
enumerated_streams
,
stg_def_emf
.
stream_count
);
ReleaseStgMedium
(
&
stgmed
);
IPersist_Release
(
p
re
sist
);
IPersist_Release
(
p
er
sist
);
IStorage_Release
(
storage
);
IOleObject_Release
(
ole_obj
);
...
...
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