Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
eb6500fb
Commit
eb6500fb
authored
Oct 13, 2000
by
Francois Gouget
Committed by
Alexandre Julliard
Oct 13, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed the signature of the FormatMessage APIs.
parent
83804d28
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
6 deletions
+9
-6
format_msg.c
dlls/kernel/format_msg.c
+4
-2
winbase.h
include/winbase.h
+5
-4
No files found.
dlls/kernel/format_msg.c
View file @
eb6500fb
...
...
@@ -141,8 +141,9 @@ DWORD WINAPI FormatMessageA(
DWORD
dwLanguageId
,
LPSTR
lpBuffer
,
DWORD
nSize
,
LPDWORD
args
/* va_list *args */
va_list
*
_args
)
{
LPDWORD
args
=
(
LPDWORD
)
_args
;
#ifdef __i386__
/* This implementation is completely dependant on the format of the va_list on x86 CPUs */
LPSTR
target
,
t
;
...
...
@@ -351,8 +352,9 @@ DWORD WINAPI FormatMessageW(
DWORD
dwLanguageId
,
LPWSTR
lpBuffer
,
DWORD
nSize
,
LPDWORD
args
/* va_list *args */
va_list
*
_args
)
{
LPDWORD
args
=
(
LPDWORD
)
_args
;
#ifdef __i386__
/* This implementation is completely dependant on the format of the va_list on x86 CPUs */
LPSTR
target
,
t
;
...
...
include/winbase.h
View file @
eb6500fb
...
...
@@ -5,6 +5,9 @@
#include "winnt.h"
#include "pshpack1.h"
#ifndef RC_INVOKED
#include <stdarg.h>
#endif
#ifdef __cplusplus
extern
"C"
{
...
...
@@ -1329,10 +1332,8 @@ HRSRC WINAPI FindResourceExW(HMODULE,LPCWSTR,LPCWSTR,WORD);
BOOL
WINAPI
FlushConsoleInputBuffer
(
HANDLE
);
BOOL
WINAPI
FlushFileBuffers
(
HANDLE
);
BOOL
WINAPI
FlushViewOfFile
(
LPCVOID
,
DWORD
);
DWORD
WINAPI
FormatMessageA
(
DWORD
,
LPCVOID
,
DWORD
,
DWORD
,
LPSTR
,
DWORD
,
LPDWORD
);
DWORD
WINAPI
FormatMessageW
(
DWORD
,
LPCVOID
,
DWORD
,
DWORD
,
LPWSTR
,
DWORD
,
LPDWORD
);
DWORD
WINAPI
FormatMessageA
(
DWORD
,
LPCVOID
,
DWORD
,
DWORD
,
LPSTR
,
DWORD
,
va_list
*
);
DWORD
WINAPI
FormatMessageW
(
DWORD
,
LPCVOID
,
DWORD
,
DWORD
,
LPWSTR
,
DWORD
,
va_list
*
);
#define FormatMessage WINELIB_NAME_AW(FormatMessage)
BOOL
WINAPI
FreeConsole
(
void
);
BOOL
WINAPI
FreeEnvironmentStringsA
(
LPSTR
);
...
...
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