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
8b7269e7
Commit
8b7269e7
authored
May 08, 2009
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
oleaut32/tests: Don't crash if ITypeInfo_GetTypeAttr fails.
parent
4d30e7af
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
9 deletions
+11
-9
typelib.c
dlls/oleaut32/tests/typelib.c
+11
-9
No files found.
dlls/oleaut32/tests/typelib.c
View file @
8b7269e7
...
...
@@ -772,15 +772,17 @@ if(use_midl_tlb) {
hr
=
ITypeInfo_GetTypeAttr
(
pTI
,
&
pTA
);
ok
(
hr
==
S_OK
,
"hr %08x
\n
"
,
hr
);
ok
(
pTA
->
typekind
==
TKIND_DISPATCH
,
"kind %04x
\n
"
,
pTA
->
typekind
);
ok
(
pTA
->
cbSizeVft
==
7
*
sizeof
(
void
*
),
"sizevft %d
\n
"
,
pTA
->
cbSizeVft
);
if
(
use_midl_tlb
)
{
ok
(
pTA
->
wTypeFlags
==
TYPEFLAG_FDUAL
,
"typeflags %x
\n
"
,
pTA
->
wTypeFlags
);
}
ok
(
pTA
->
cFuncs
==
8
,
"cfuncs %d
\n
"
,
pTA
->
cFuncs
);
ok
(
pTA
->
cImplTypes
==
1
,
"cimpltypes %d
\n
"
,
pTA
->
cImplTypes
);
ITypeInfo_ReleaseTypeAttr
(
pTI
,
pTA
);
if
(
hr
==
S_OK
)
{
ok
(
pTA
->
typekind
==
TKIND_DISPATCH
,
"kind %04x
\n
"
,
pTA
->
typekind
);
ok
(
pTA
->
cbSizeVft
==
7
*
sizeof
(
void
*
),
"sizevft %d
\n
"
,
pTA
->
cbSizeVft
);
if
(
use_midl_tlb
)
{
ok
(
pTA
->
wTypeFlags
==
TYPEFLAG_FDUAL
,
"typeflags %x
\n
"
,
pTA
->
wTypeFlags
);
}
ok
(
pTA
->
cFuncs
==
8
,
"cfuncs %d
\n
"
,
pTA
->
cFuncs
);
ok
(
pTA
->
cImplTypes
==
1
,
"cimpltypes %d
\n
"
,
pTA
->
cImplTypes
);
ITypeInfo_ReleaseTypeAttr
(
pTI
,
pTA
);
}
hr
=
ITypeInfo_GetRefTypeOfImplType
(
pTI
,
0
,
&
href
);
ok
(
hr
==
S_OK
,
"hr %08x
\n
"
,
hr
);
hr
=
ITypeInfo_GetRefTypeInfo
(
pTI
,
href
,
&
pTI_p
);
...
...
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