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
833c3425
Commit
833c3425
authored
Jul 07, 2008
by
James Hawkins
Committed by
Alexandre Julliard
Jul 08, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ole32: Fix a few failing tests in win2k.
parent
7d22101e
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletion
+10
-1
ole2.c
dlls/ole32/tests/ole2.c
+10
-1
No files found.
dlls/ole32/tests/ole2.c
View file @
833c3425
...
...
@@ -782,10 +782,14 @@ static void test_OleCreate(IStorage *pStorage)
expected_method_list
=
methods_olerender_format
;
trace
(
"OleCreate with OLERENDER_FORMAT:
\n
"
);
hr
=
OleCreate
(
&
CLSID_Equation3
,
&
IID_IOleObject
,
OLERENDER_FORMAT
,
&
formatetc
,
(
IOleClientSite
*
)
0xdeadbeef
,
pStorage
,
(
void
**
)
&
pObject
);
ok_ole_success
(
hr
,
"OleCreate"
);
ok
(
hr
==
S_OK
||
broken
(
hr
==
E_INVALIDARG
),
/* win2k */
"OleCreate failed with error 0x%08x
\n
"
,
hr
);
if
(
pObject
)
{
IOleObject_Release
(
pObject
);
ok
(
!*
expected_method_list
,
"Method sequence starting from %s not called
\n
"
,
*
expected_method_list
);
}
expected_method_list
=
methods_olerender_asis
;
trace
(
"OleCreate with OLERENDER_ASIS:
\n
"
);
...
...
@@ -839,10 +843,15 @@ static void test_OleLoad(IStorage *pStorage)
expected_method_list
=
methods_oleload
;
trace
(
"OleLoad:
\n
"
);
hr
=
OleLoad
(
pStorage
,
&
IID_IOleObject
,
(
IOleClientSite
*
)
0xdeadbeef
,
(
void
**
)
&
pObject
);
ok
(
hr
==
S_OK
||
broken
(
hr
==
E_INVALIDARG
),
/* win2k */
"OleLoad failed with error 0x%08x
\n
"
,
hr
);
ok_ole_success
(
hr
,
"OleLoad"
);
if
(
pObject
)
{
IOleObject_Release
(
pObject
);
ok
(
!*
expected_method_list
,
"Method sequence starting from %s not called
\n
"
,
*
expected_method_list
);
}
}
static
BOOL
STDMETHODCALLTYPE
draw_continue
(
ULONG_PTR
param
)
...
...
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