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
004ad9af
Commit
004ad9af
authored
Sep 16, 2009
by
Vincent Povirk
Committed by
Alexandre Julliard
Sep 16, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
oleaut32: Add test for HREFTYPE's from inherited methods.
parent
8b8af9c8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
1 deletion
+11
-1
tmarshal.idl
dlls/oleaut32/tests/tmarshal.idl
+1
-1
typelib.c
dlls/oleaut32/tests/typelib.c
+10
-0
No files found.
dlls/oleaut32/tests/tmarshal.idl
View file @
004ad9af
...
...
@@ -285,7 +285,7 @@ library TestTypelib
]
interface
ItestIF7
:
ItestIF6
{
[
id
(
0
x1236
)
]
HRESULT
fn6
(
[
in
]
int
a
)
;
[
id
(
0
x1236
)
]
HRESULT
fn6
(
[
in
]
GUID
a
)
;
}
[
...
...
dlls/oleaut32/tests/typelib.c
View file @
004ad9af
...
...
@@ -915,6 +915,16 @@ if(use_midl_tlb) {
ok
(
hr
==
S_OK
,
"hr %08x
\n
"
,
hr
);
ok
(
pFD
->
memid
==
0x1236
,
"memid %08x
\n
"
,
pFD
->
memid
);
ok
(
pFD
->
oVft
==
9
*
sizeof
(
void
*
),
"oVft %d
\n
"
,
pFD
->
oVft
);
/* first argument to 10th function is an HREFTYPE from the impl type */
ok
(
pFD
->
cParams
==
1
,
"cParams %i
\n
"
,
pFD
->
cParams
);
ok
(
pFD
->
lprgelemdescParam
[
0
].
tdesc
.
vt
==
VT_USERDEFINED
,
"vt 0x%x
\n
"
,
pFD
->
lprgelemdescParam
[
0
].
tdesc
.
vt
);
href
=
U
(
pFD
->
lprgelemdescParam
[
0
].
tdesc
).
hreftype
;
ok
((
href
&
0xff000000
)
==
0x04000000
,
"href 0x%08x
\n
"
,
href
);
hr
=
ITypeInfo_GetRefTypeInfo
(
pTI
,
href
,
&
pTI_p
);
todo_wine
ok
(
SUCCEEDED
(
hr
),
"hr %08x
\n
"
,
hr
);
if
(
SUCCEEDED
(
hr
))
ITypeInfo_Release
(
pTI_p
);
ITypeInfo_ReleaseFuncDesc
(
pTI
,
pFD
);
}
ITypeInfo_Release
(
pTI
);
...
...
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