include: Use WINAPIV calling convention for variadic functions.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alexandre Julliard 2017-11-02 10:20:27 +01:00
parent 7726157e19
commit 667b150a98
3 changed files with 5 additions and 5 deletions

View File

@ -967,8 +967,8 @@ BOOL WINAPI OleUIAddVerbMenuW(LPOLEOBJECT lpOleObj, LPCWSTR lpszShortType, HMEN
UINT WINAPI OleUIPasteSpecialA(LPOLEUIPASTESPECIALA lpOleUIPasteSpecial);
UINT WINAPI OleUIPasteSpecialW(LPOLEUIPASTESPECIALW lpOleUIPasteSpecial);
#define OleUIPasteSpecial WINELIB_NAME_AW(OleUIPasteSpecial)
INT __cdecl OleUIPromptUserA(INT,HWND, ...);
INT __cdecl OleUIPromptUserW(INT,HWND, ...);
INT WINAPIV OleUIPromptUserA(INT,HWND, ...);
INT WINAPIV OleUIPromptUserW(INT,HWND, ...);
#define OleUIPromptUser WINELIB_NAME_AW(OleUIPromptUser)
#ifdef __cplusplus

View File

@ -114,7 +114,7 @@ typedef UINT64 MIDL_uhyper;
typedef unsigned char boolean;
#define __RPC_CALLEE WINAPI
#define RPC_VAR_ENTRY __cdecl
#define RPC_VAR_ENTRY WINAPIV
#define NDR_SHAREABLE static
#define MIDL_ascii_strlen(s) strlen(s)

View File

@ -1082,10 +1082,10 @@ BOOL WINAPI AVISaveOptions(HWND hWnd,UINT uFlags,INT nStream,
PAVISTREAM *ppavi,LPAVICOMPRESSOPTIONS *ppOptions);
HRESULT WINAPI AVISaveOptionsFree(INT nStreams,LPAVICOMPRESSOPTIONS*ppOptions);
HRESULT CDECL AVISaveA(LPCSTR szFile, CLSID *pclsidHandler,
HRESULT WINAPIV AVISaveA(LPCSTR szFile, CLSID *pclsidHandler,
AVISAVECALLBACK lpfnCallback, int nStreams,
PAVISTREAM pavi, LPAVICOMPRESSOPTIONS lpOptions, ...);
HRESULT CDECL AVISaveW(LPCWSTR szFile, CLSID *pclsidHandler,
HRESULT WINAPIV AVISaveW(LPCWSTR szFile, CLSID *pclsidHandler,
AVISAVECALLBACK lpfnCallback, int nStreams,
PAVISTREAM pavi, LPAVICOMPRESSOPTIONS lpOptions, ...);
#define AVISave WINELIB_NAME_AW(AVISave)