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
7344ac9b
Commit
7344ac9b
authored
Nov 02, 2017
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
regedit: Use WINAPIV calling convention for variadic functions.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
a37358d0
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
7 deletions
+7
-7
edit.c
programs/regedit/edit.c
+2
-2
main.h
programs/regedit/main.h
+1
-1
regedit.c
programs/regedit/regedit.c
+2
-2
regproc.h
programs/regedit/regproc.h
+2
-2
No files found.
programs/regedit/edit.c
View file @
7344ac9b
...
...
@@ -64,7 +64,7 @@ static int vmessagebox(HWND hwnd, int buttons, int titleId, int resId, __ms_va_l
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
;
INT
result
;
...
...
@@ -76,7 +76,7 @@ int __cdecl messagebox(HWND hwnd, int buttons, int titleId, int resId, ...)
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
;
...
...
programs/regedit/main.h
View file @
7344ac9b
...
...
@@ -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
RenameValue
(
HWND
hwnd
,
HKEY
hRootKey
,
LPCWSTR
keyPath
,
LPCWSTR
oldName
,
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 */
extern
void
HexEdit_Register
(
void
);
...
...
programs/regedit/regedit.c
View file @
7344ac9b
...
...
@@ -67,7 +67,7 @@ static void output_formatstring(const WCHAR *fmt, __ms_va_list va_args)
LocalFree
(
str
);
}
void
__cdecl
output_message
(
unsigned
int
id
,
...)
void
WINAPIV
output_message
(
unsigned
int
id
,
...)
{
WCHAR
fmt
[
1536
];
__ms_va_list
va_args
;
...
...
@@ -82,7 +82,7 @@ void __cdecl output_message(unsigned int id, ...)
__ms_va_end
(
va_args
);
}
void
__cdecl
error_exit
(
unsigned
int
id
,
...)
void
WINAPIV
error_exit
(
unsigned
int
id
,
...)
{
WCHAR
fmt
[
1536
];
__ms_va_list
va_args
;
...
...
programs/regedit/regproc.h
View file @
7344ac9b
...
...
@@ -24,8 +24,8 @@
#define REG_FORMAT_5 1
#define REG_FORMAT_4 2
void
__cdecl
output_message
(
unsigned
int
id
,
...);
void
__cdecl
error_exit
(
unsigned
int
id
,
...);
void
WINAPIV
output_message
(
unsigned
int
id
,
...);
void
WINAPIV
error_exit
(
unsigned
int
id
,
...);
char
*
GetMultiByteString
(
const
WCHAR
*
strW
);
void
*
heap_xalloc
(
size_t
size
);
...
...
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