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
3dd7ba39
Commit
3dd7ba39
authored
Dec 06, 2005
by
Robert Shearman
Committed by
Alexandre Julliard
Dec 06, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
OLE: ITypeInfo_Invoke parameter naming change.
Rename the dwFlags parameter of ITypeInfo_Invoke since it is not a DWORD, but an unsigned short.
parent
5ba7b177
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
typelib.c
dlls/oleaut32/typelib.c
+7
-7
No files found.
dlls/oleaut32/typelib.c
View file @
3dd7ba39
...
...
@@ -5208,7 +5208,7 @@ static HRESULT WINAPI ITypeInfo_fnInvoke(
ITypeInfo2
*
iface
,
VOID
*
pIUnk
,
MEMBERID
memid
,
UINT16
d
wFlags
,
UINT16
wFlags
,
DISPPARAMS
*
pDispParams
,
VARIANT
*
pVarResult
,
EXCEPINFO
*
pExcepInfo
,
...
...
@@ -5221,15 +5221,15 @@ static HRESULT WINAPI ITypeInfo_fnInvoke(
HRESULT
hres
;
const
TLBFuncDesc
*
pFuncInfo
;
TRACE
(
"(%p)(%p,id=%ld,flags=0x%08x,%p,%p,%p,%p)
partial stub!
\n
"
,
This
,
pIUnk
,
memid
,
d
wFlags
,
pDispParams
,
pVarResult
,
pExcepInfo
,
pArgErr
TRACE
(
"(%p)(%p,id=%ld,flags=0x%08x,%p,%p,%p,%p)
\n
"
,
This
,
pIUnk
,
memid
,
wFlags
,
pDispParams
,
pVarResult
,
pExcepInfo
,
pArgErr
);
dump_DispParms
(
pDispParams
);
/* we do this instead of using GetFuncDesc since it will return a fake
* FUNCDESC for dispinterfaces and we want the real function description */
for
(
pFuncInfo
=
This
->
funclist
;
pFuncInfo
;
pFuncInfo
=
pFuncInfo
->
next
)
if
(
memid
==
pFuncInfo
->
funcdesc
.
memid
&&
(
d
wFlags
&
pFuncInfo
->
funcdesc
.
invkind
))
if
(
memid
==
pFuncInfo
->
funcdesc
.
memid
&&
(
wFlags
&
pFuncInfo
->
funcdesc
.
invkind
))
break
;
if
(
pFuncInfo
)
{
...
...
@@ -5395,7 +5395,7 @@ func_fail:
if
(
SUCCEEDED
(
hres
))
{
FIXME
(
"Calling Invoke in IDispatch iface. untested!
\n
"
);
hres
=
IDispatch_Invoke
(
disp
,
memid
,
&
IID_NULL
,
LOCALE_USER_DEFAULT
,
d
wFlags
,
pDispParams
,
disp
,
memid
,
&
IID_NULL
,
LOCALE_USER_DEFAULT
,
wFlags
,
pDispParams
,
pVarResult
,
pExcepInfo
,
pArgErr
);
if
(
FAILED
(
hres
))
...
...
@@ -5435,14 +5435,14 @@ func_fail:
ITypeInfo
*
pTInfo
;
hres
=
ITypeInfo_GetRefTypeInfo
(
iface
,
ref_type
,
&
pTInfo
);
if
(
SUCCEEDED
(
hres
)){
hres
=
ITypeInfo_Invoke
(
pTInfo
,
pIUnk
,
memid
,
d
wFlags
,
pDispParams
,
pVarResult
,
pExcepInfo
,
pArgErr
);
hres
=
ITypeInfo_Invoke
(
pTInfo
,
pIUnk
,
memid
,
wFlags
,
pDispParams
,
pVarResult
,
pExcepInfo
,
pArgErr
);
ITypeInfo_Release
(
pTInfo
);
return
hres
;
}
WARN
(
"Could not search inherited interface!
\n
"
);
}
}
ERR
(
"did not find member id %
08lx, flags %d!
\n
"
,
memid
,
d
wFlags
);
ERR
(
"did not find member id %
ld, flags 0x%x!
\n
"
,
memid
,
wFlags
);
return
DISP_E_MEMBERNOTFOUND
;
}
...
...
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