mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 12:19:49 +00:00
regedit: Use WINAPIV calling convention for variadic functions.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
a37358d0f5
commit
7344ac9b72
4 changed files with 7 additions and 7 deletions
|
@ -64,7 +64,7 @@ static int vmessagebox(HWND hwnd, int buttons, int titleId, int resId, __ms_va_l
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
int __cdecl messagebox(HWND hwnd, int buttons, int titleId, int resId, ...)
|
int WINAPIV messagebox(HWND hwnd, int buttons, int titleId, int resId, ...)
|
||||||
{
|
{
|
||||||
__ms_va_list ap;
|
__ms_va_list ap;
|
||||||
INT result;
|
INT result;
|
||||||
|
@ -76,7 +76,7 @@ int __cdecl messagebox(HWND hwnd, int buttons, int titleId, int resId, ...)
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void __cdecl error_code_messagebox(HWND hwnd, unsigned int msg_id, ...)
|
static void WINAPIV error_code_messagebox(HWND hwnd, unsigned int msg_id, ...)
|
||||||
{
|
{
|
||||||
__ms_va_list ap;
|
__ms_va_list ap;
|
||||||
|
|
||||||
|
|
|
@ -160,7 +160,7 @@ extern BOOL DeleteKey(HWND hwnd, HKEY hKeyRoot, LPCWSTR keyPath);
|
||||||
extern BOOL DeleteValue(HWND hwnd, HKEY hKeyRoot, LPCWSTR keyPath, LPCWSTR valueName, BOOL showMessageBox);
|
extern BOOL DeleteValue(HWND hwnd, HKEY hKeyRoot, LPCWSTR keyPath, LPCWSTR valueName, BOOL showMessageBox);
|
||||||
extern BOOL RenameValue(HWND hwnd, HKEY hRootKey, LPCWSTR keyPath, LPCWSTR oldName, LPCWSTR newName);
|
extern BOOL RenameValue(HWND hwnd, HKEY hRootKey, LPCWSTR keyPath, LPCWSTR oldName, LPCWSTR newName);
|
||||||
extern BOOL RenameKey(HWND hwnd, HKEY hRootKey, LPCWSTR keyPath, LPCWSTR newName);
|
extern BOOL RenameKey(HWND hwnd, HKEY hRootKey, LPCWSTR keyPath, LPCWSTR newName);
|
||||||
extern int __cdecl messagebox(HWND hwnd, int buttons, int titleId, int resId, ...);
|
extern int WINAPIV messagebox(HWND hwnd, int buttons, int titleId, int resId, ...);
|
||||||
|
|
||||||
/* hexedit.c */
|
/* hexedit.c */
|
||||||
extern void HexEdit_Register(void);
|
extern void HexEdit_Register(void);
|
||||||
|
|
|
@ -67,7 +67,7 @@ static void output_formatstring(const WCHAR *fmt, __ms_va_list va_args)
|
||||||
LocalFree(str);
|
LocalFree(str);
|
||||||
}
|
}
|
||||||
|
|
||||||
void __cdecl output_message(unsigned int id, ...)
|
void WINAPIV output_message(unsigned int id, ...)
|
||||||
{
|
{
|
||||||
WCHAR fmt[1536];
|
WCHAR fmt[1536];
|
||||||
__ms_va_list va_args;
|
__ms_va_list va_args;
|
||||||
|
@ -82,7 +82,7 @@ void __cdecl output_message(unsigned int id, ...)
|
||||||
__ms_va_end(va_args);
|
__ms_va_end(va_args);
|
||||||
}
|
}
|
||||||
|
|
||||||
void __cdecl error_exit(unsigned int id, ...)
|
void WINAPIV error_exit(unsigned int id, ...)
|
||||||
{
|
{
|
||||||
WCHAR fmt[1536];
|
WCHAR fmt[1536];
|
||||||
__ms_va_list va_args;
|
__ms_va_list va_args;
|
||||||
|
|
|
@ -24,8 +24,8 @@
|
||||||
#define REG_FORMAT_5 1
|
#define REG_FORMAT_5 1
|
||||||
#define REG_FORMAT_4 2
|
#define REG_FORMAT_4 2
|
||||||
|
|
||||||
void __cdecl output_message(unsigned int id, ...);
|
void WINAPIV output_message(unsigned int id, ...);
|
||||||
void __cdecl error_exit(unsigned int id, ...);
|
void WINAPIV error_exit(unsigned int id, ...);
|
||||||
|
|
||||||
char *GetMultiByteString(const WCHAR *strW);
|
char *GetMultiByteString(const WCHAR *strW);
|
||||||
void *heap_xalloc(size_t size);
|
void *heap_xalloc(size_t size);
|
||||||
|
|
Loading…
Reference in a new issue