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
55e4c7f1
Commit
55e4c7f1
authored
Dec 31, 2008
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shlwapi: Convert SHPackDispParams to use an MS ABI vararg list for x86_64.
parent
b9f0ee96
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
9 deletions
+7
-9
ordinal.c
dlls/shlwapi/ordinal.c
+7
-9
No files found.
dlls/shlwapi/ordinal.c
View file @
55e4c7f1
...
@@ -2816,7 +2816,7 @@ HRESULT WINAPI SHInvokeDefaultCommand(HWND hWnd, IShellFolder* lpFolder, LPCITEM
...
@@ -2816,7 +2816,7 @@ HRESULT WINAPI SHInvokeDefaultCommand(HWND hWnd, IShellFolder* lpFolder, LPCITEM
*
*
* _SHPackDispParamsV
* _SHPackDispParamsV
*/
*/
HRESULT
WINAPI
SHPackDispParamsV
(
DISPPARAMS
*
params
,
VARIANTARG
*
args
,
UINT
cnt
,
va_list
valist
)
HRESULT
WINAPI
SHPackDispParamsV
(
DISPPARAMS
*
params
,
VARIANTARG
*
args
,
UINT
cnt
,
__ms_
va_list
valist
)
{
{
VARIANTARG
*
iter
;
VARIANTARG
*
iter
;
...
@@ -2870,14 +2870,12 @@ HRESULT WINAPI SHPackDispParamsV(DISPPARAMS *params, VARIANTARG *args, UINT cnt,
...
@@ -2870,14 +2870,12 @@ HRESULT WINAPI SHPackDispParamsV(DISPPARAMS *params, VARIANTARG *args, UINT cnt,
*/
*/
HRESULT
WINAPIV
SHPackDispParams
(
DISPPARAMS
*
params
,
VARIANTARG
*
args
,
UINT
cnt
,
...)
HRESULT
WINAPIV
SHPackDispParams
(
DISPPARAMS
*
params
,
VARIANTARG
*
args
,
UINT
cnt
,
...)
{
{
va_list
valist
;
__ms_
va_list
valist
;
HRESULT
hres
;
HRESULT
hres
;
va_start
(
valist
,
cnt
);
__ms_va_start
(
valist
,
cnt
);
hres
=
SHPackDispParamsV
(
params
,
args
,
cnt
,
valist
);
hres
=
SHPackDispParamsV
(
params
,
args
,
cnt
,
valist
);
__ms_va_end
(
valist
);
va_end
(
valist
);
return
hres
;
return
hres
;
}
}
...
@@ -3003,7 +3001,7 @@ HRESULT WINAPIV IUnknown_CPContainerInvokeParam(
...
@@ -3003,7 +3001,7 @@ HRESULT WINAPIV IUnknown_CPContainerInvokeParam(
IConnectionPoint
*
iCP
;
IConnectionPoint
*
iCP
;
IConnectionPointContainer
*
iCPC
;
IConnectionPointContainer
*
iCPC
;
DISPPARAMS
dispParams
=
{
buffer
,
NULL
,
cParams
,
0
};
DISPPARAMS
dispParams
=
{
buffer
,
NULL
,
cParams
,
0
};
va_list
valist
;
__ms_
va_list
valist
;
if
(
!
container
)
if
(
!
container
)
return
E_NOINTERFACE
;
return
E_NOINTERFACE
;
...
@@ -3017,9 +3015,9 @@ HRESULT WINAPIV IUnknown_CPContainerInvokeParam(
...
@@ -3017,9 +3015,9 @@ HRESULT WINAPIV IUnknown_CPContainerInvokeParam(
if
(
FAILED
(
result
))
if
(
FAILED
(
result
))
return
result
;
return
result
;
va_start
(
valist
,
cParams
);
__ms_
va_start
(
valist
,
cParams
);
SHPackDispParamsV
(
&
dispParams
,
buffer
,
cParams
,
valist
);
SHPackDispParamsV
(
&
dispParams
,
buffer
,
cParams
,
valist
);
va_end
(
valist
);
__ms_
va_end
(
valist
);
result
=
SHLWAPI_InvokeByIID
(
iCP
,
riid
,
dispId
,
&
dispParams
);
result
=
SHLWAPI_InvokeByIID
(
iCP
,
riid
,
dispId
,
&
dispParams
);
IConnectionPoint_Release
(
iCP
);
IConnectionPoint_Release
(
iCP
);
...
...
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