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
0346ba91
Commit
0346ba91
authored
Dec 22, 2010
by
Nikolay Sivov
Committed by
Alexandre Julliard
Dec 22, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
oleaut32: Added ICreateTypeInfo2::SetVarHelpContext().
parent
6408679e
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
4 deletions
+21
-4
typelib2.c
dlls/oleaut32/typelib2.c
+21
-4
No files found.
dlls/oleaut32/typelib2.c
View file @
0346ba91
...
...
@@ -2206,7 +2206,7 @@ static HRESULT WINAPI ICreateTypeInfo2_fnAddVarDesc(
int
var_type_size
;
int
alignment
;
TRACE
(
"(%p,%d,%p)
, stub!
\n
"
,
iface
,
index
,
pVarDesc
);
TRACE
(
"(%p,%d,%p)
\n
"
,
iface
,
index
,
pVarDesc
);
TRACE
(
"%d, %p, %d, {{%x, %d}, {%p, %x}}, 0x%x, %d
\n
"
,
pVarDesc
->
memid
,
pVarDesc
->
lpstrSchema
,
pVarDesc
->
u
.
oInst
,
pVarDesc
->
elemdescVar
.
tdesc
.
u
.
hreftype
,
pVarDesc
->
elemdescVar
.
tdesc
.
vt
,
pVarDesc
->
elemdescVar
.
u
.
paramdesc
.
pparamdescex
,
pVarDesc
->
elemdescVar
.
u
.
paramdesc
.
wParamFlags
,
...
...
@@ -2543,10 +2543,27 @@ static HRESULT WINAPI ICreateTypeInfo2_fnSetFuncHelpContext(
static
HRESULT
WINAPI
ICreateTypeInfo2_fnSetVarHelpContext
(
ICreateTypeInfo2
*
iface
,
UINT
index
,
DWORD
dwHelpC
ontext
)
DWORD
c
ontext
)
{
FIXME
(
"(%p,%d,%d), stub!
\n
"
,
iface
,
index
,
dwHelpContext
);
return
E_OUTOFMEMORY
;
ICreateTypeInfo2Impl
*
This
=
(
ICreateTypeInfo2Impl
*
)
iface
;
CyclicList
*
iter
;
TRACE
(
"(%p,%d,%d)
\n
"
,
This
,
index
,
context
);
if
((
This
->
typeinfo
->
cElement
>>
16
)
<=
index
)
return
TYPE_E_ELEMENTNOTFOUND
;
for
(
iter
=
This
->
typedata
->
next
->
next
;
iter
!=
This
->
typedata
;
iter
=
iter
->
next
)
if
(
iter
->
type
==
CyclicListVar
)
{
if
(
index
--
==
0
)
{
iter
->
u
.
data
[
5
]
=
context
;
return
S_OK
;
}
}
return
TYPE_E_ELEMENTNOTFOUND
;
}
/******************************************************************************
...
...
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