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
16cc1858
Commit
16cc1858
authored
Feb 03, 2006
by
Huw Davies
Committed by
Alexandre Julliard
Feb 03, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ole: Initialize a few more funcdesc members in CreateDispTypeInfo.
parent
c13ae562
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
typelib.c
dlls/oleaut32/typelib.c
+4
-0
No files found.
dlls/oleaut32/typelib.c
View file @
16cc1858
...
...
@@ -6396,12 +6396,15 @@ HRESULT WINAPI CreateDispTypeInfo(
*
ppFuncDesc
=
HeapAlloc
(
GetProcessHeap
(),
0
,
sizeof
(
**
ppFuncDesc
));
(
*
ppFuncDesc
)
->
Name
=
SysAllocString
(
md
->
szName
);
(
*
ppFuncDesc
)
->
funcdesc
.
memid
=
md
->
dispid
;
(
*
ppFuncDesc
)
->
funcdesc
.
funckind
=
FUNC_DISPATCH
;
(
*
ppFuncDesc
)
->
funcdesc
.
invkind
=
md
->
wFlags
;
(
*
ppFuncDesc
)
->
funcdesc
.
callconv
=
md
->
cc
;
(
*
ppFuncDesc
)
->
funcdesc
.
cParams
=
md
->
cArgs
;
(
*
ppFuncDesc
)
->
funcdesc
.
cParamsOpt
=
0
;
(
*
ppFuncDesc
)
->
funcdesc
.
oVft
=
md
->
iMeth
;
(
*
ppFuncDesc
)
->
funcdesc
.
wFuncFlags
=
0
;
/*??*/
(
*
ppFuncDesc
)
->
funcdesc
.
elemdescFunc
.
u
.
paramdesc
.
wParamFlags
=
PARAMFLAG_NONE
;
(
*
ppFuncDesc
)
->
funcdesc
.
elemdescFunc
.
u
.
paramdesc
.
pparamdescex
=
NULL
;
(
*
ppFuncDesc
)
->
funcdesc
.
elemdescFunc
.
tdesc
.
vt
=
md
->
vtReturn
;
(
*
ppFuncDesc
)
->
funcdesc
.
lprgelemdescParam
=
HeapAlloc
(
GetProcessHeap
(),
HEAP_ZERO_MEMORY
,
md
->
cArgs
*
sizeof
(
ELEMDESC
));
...
...
@@ -6417,6 +6420,7 @@ HRESULT WINAPI CreateDispTypeInfo(
(
*
ppFuncDesc
)
->
Entry
=
NULL
;
(
*
ppFuncDesc
)
->
ctCustData
=
0
;
(
*
ppFuncDesc
)
->
pCustData
=
NULL
;
(
*
ppFuncDesc
)
->
next
=
NULL
;
ppFuncDesc
=
&
(
*
ppFuncDesc
)
->
next
;
}
*
pptinfo
=
(
ITypeInfo
*
)
pTIImpl
;
...
...
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