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
3209f23c
Commit
3209f23c
authored
Feb 10, 2011
by
Austin English
Committed by
Alexandre Julliard
Feb 15, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
oleaut32/tests: Make sure return values are used (LLVM/Clang).
parent
d38dfa13
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
typelib.c
dlls/oleaut32/tests/typelib.c
+8
-0
No files found.
dlls/oleaut32/tests/typelib.c
View file @
3209f23c
...
...
@@ -1112,6 +1112,7 @@ if(use_midl_tlb) {
hr
=
ITypeInfo_GetRefTypeInfo
(
pTI
,
href
,
&
pTI_p
);
ok
(
hr
==
S_OK
,
"hr %08x
\n
"
,
hr
);
hr
=
ITypeInfo_GetTypeAttr
(
pTI_p
,
&
pTA
);
ok
(
hr
==
S_OK
,
"got %08x
\n
"
,
hr
);
ok
(
IsEqualGUID
(
&
pTA
->
guid
,
&
IID_IDispatch
),
"guid {%08x-....
\n
"
,
pTA
->
guid
.
Data1
);
ITypeInfo_ReleaseTypeAttr
(
pTI_p
,
pTA
);
ITypeInfo_Release
(
pTI_p
);
...
...
@@ -1146,6 +1147,7 @@ if(use_midl_tlb) {
hr
=
ITypeInfo_GetRefTypeInfo
(
pTI
,
href
,
&
pTI_p
);
ok
(
hr
==
S_OK
,
"hr %08x
\n
"
,
hr
);
hr
=
ITypeInfo_GetTypeAttr
(
pTI_p
,
&
pTA
);
ok
(
hr
==
S_OK
,
"got %08x
\n
"
,
hr
);
ok
(
IsEqualGUID
(
&
pTA
->
guid
,
&
IID_IDispatch
),
"guid {%08x-....
\n
"
,
pTA
->
guid
.
Data1
);
ITypeInfo_ReleaseTypeAttr
(
pTI_p
,
pTA
);
ITypeInfo_Release
(
pTI_p
);
...
...
@@ -1180,6 +1182,7 @@ if(use_midl_tlb) {
hr
=
ITypeInfo_GetRefTypeInfo
(
pTI
,
href
,
&
pTI_p
);
ok
(
hr
==
S_OK
,
"hr %08x
\n
"
,
hr
);
hr
=
ITypeInfo_GetTypeAttr
(
pTI_p
,
&
pTA
);
ok
(
hr
==
S_OK
,
"got %08x
\n
"
,
hr
);
ok
(
IsEqualGUID
(
&
pTA
->
guid
,
&
IID_IDispatch
),
"guid {%08x-....
\n
"
,
pTA
->
guid
.
Data1
);
ITypeInfo_ReleaseTypeAttr
(
pTI_p
,
pTA
);
ITypeInfo_Release
(
pTI_p
);
...
...
@@ -1209,6 +1212,7 @@ if(use_midl_tlb) {
hr
=
ITypeInfo_GetRefTypeInfo
(
pTI
,
href
,
&
pTI_p
);
ok
(
hr
==
S_OK
,
"hr %08x
\n
"
,
hr
);
hr
=
ITypeInfo_GetTypeAttr
(
pTI_p
,
&
pTA
);
ok
(
hr
==
S_OK
,
"got %08x
\n
"
,
hr
);
ok
(
IsEqualGUID
(
&
pTA
->
guid
,
&
IID_IDispatch
),
"guid {%08x-....
\n
"
,
pTA
->
guid
.
Data1
);
ITypeInfo_ReleaseTypeAttr
(
pTI_p
,
pTA
);
ITypeInfo_Release
(
pTI_p
);
...
...
@@ -1242,6 +1246,7 @@ if(use_midl_tlb) {
hr
=
ITypeInfo_GetRefTypeInfo
(
pTI
,
href
,
&
pTI_p
);
ok
(
hr
==
S_OK
,
"hr %08x
\n
"
,
hr
);
hr
=
ITypeInfo_GetTypeAttr
(
pTI_p
,
&
pTA
);
ok
(
hr
==
S_OK
,
"got %08x
\n
"
,
hr
);
ok
(
IsEqualGUID
(
&
pTA
->
guid
,
&
IID_IDispatch
),
"guid {%08x-....
\n
"
,
pTA
->
guid
.
Data1
);
ITypeInfo_ReleaseTypeAttr
(
pTI_p
,
pTA
);
ITypeInfo_Release
(
pTI_p
);
...
...
@@ -1278,6 +1283,7 @@ if(use_midl_tlb) {
hr
=
ITypeInfo_GetRefTypeInfo
(
pTI
,
href
,
&
pTI_p
);
ok
(
hr
==
S_OK
,
"hr %08x
\n
"
,
hr
);
hr
=
ITypeInfo_GetTypeAttr
(
pTI_p
,
&
pTA
);
ok
(
hr
==
S_OK
,
"got %08x
\n
"
,
hr
);
ok
(
IsEqualGUID
(
&
pTA
->
guid
,
&
IID_IDispatch
),
"guid {%08x-....
\n
"
,
pTA
->
guid
.
Data1
);
ITypeInfo_ReleaseTypeAttr
(
pTI_p
,
pTA
);
ITypeInfo_Release
(
pTI_p
);
...
...
@@ -2757,6 +2763,8 @@ static void test_create_typelib_lcid(LCID lcid)
ok
(
hr
==
S_OK
,
"got %08x
\n
"
,
hr
);
hr
=
ICreateTypeLib2_SaveAllChanges
(
tl
);
ok
(
hr
==
S_OK
,
"got %08x
\n
"
,
hr
);
ICreateTypeLib2_Release
(
tl
);
file
=
CreateFileA
(
filename
,
GENERIC_READ
,
0
,
NULL
,
OPEN_EXISTING
,
0
,
0
);
...
...
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