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
4e17e38a
Commit
4e17e38a
authored
Jan 02, 2011
by
Nikolay Sivov
Committed by
Alexandre Julliard
Jan 03, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
oleaut32/tests: Cleanup some test macros.
parent
30b516b8
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
typelib.c
dlls/oleaut32/tests/typelib.c
+2
-2
vartype.c
dlls/oleaut32/tests/vartype.c
+0
-0
No files found.
dlls/oleaut32/tests/typelib.c
View file @
4e17e38a
...
@@ -569,9 +569,9 @@ static void test_TypeInfo(void)
...
@@ -569,9 +569,9 @@ static void test_TypeInfo(void)
dispparams
.
cNamedArgs
=
0
;
dispparams
.
cNamedArgs
=
0
;
hr
=
ITypeInfo_Invoke
(
pTypeInfo
,
(
void
*
)
0xdeadbeef
,
dispidMember
,
DISPATCH_PROPERTYGET
,
&
dispparams
,
NULL
,
NULL
,
NULL
);
hr
=
ITypeInfo_Invoke
(
pTypeInfo
,
(
void
*
)
0xdeadbeef
,
dispidMember
,
DISPATCH_PROPERTYGET
,
&
dispparams
,
NULL
,
NULL
,
NULL
);
ok
(
hr
==
DISP_E_MEMBERNOTFOUND
,
"ITypeInfo_Invoke should have returned DISP_E_MEMBERNOTFOUND instead of 0x%08x
\n
"
,
hr
);
ok
(
hr
==
DISP_E_MEMBERNOTFOUND
,
"ITypeInfo_Invoke should have returned DISP_E_MEMBERNOTFOUND instead of 0x%08x
\n
"
,
hr
);
/* correct member id -- correct flags -- cNamedArgs not bigger than cArgs
/* correct member id -- correct flags -- cNamedArgs not bigger than cArgs
*/
hr
=
ITypeInfo_Invoke
(
pTypeInfo
,
(
void
*
)
0xdeadbeef
,
dispidMember
,
DISPATCH_METHOD
,
&
dispparams
,
NULL
,
NULL
,
NULL
);
hr
=
ITypeInfo_Invoke
(
pTypeInfo
,
(
void
*
)
0xdeadbeef
,
dispidMember
,
DISPATCH_METHOD
,
&
dispparams
,
NULL
,
NULL
,
NULL
);
ok(hr ==
0x8002000e, "ITypeInfo_Invoke should have returned 0x8002000e instead of 0x%08x\n", hr); */
ok
(
hr
==
DISP_E_BADPARAMCOUNT
,
"ITypeInfo_Invoke should have returned DISP_E_BADPARAMCOUNT instead of 0x%08x
\n
"
,
hr
);
/* correct member id -- wrong flags -- cNamedArgs bigger than cArgs */
/* correct member id -- wrong flags -- cNamedArgs bigger than cArgs */
dispparams
.
cNamedArgs
=
1
;
dispparams
.
cNamedArgs
=
1
;
...
...
dlls/oleaut32/tests/vartype.c
View file @
4e17e38a
This diff is collapsed.
Click to expand it.
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