mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 22:23:01 +00:00
Fix compiler errors. Patch by Herve Poussineau. Fixes bug 478
svn path=/trunk/; revision=13267
This commit is contained in:
parent
dcee180336
commit
c0441b0e5f
20 changed files with 87 additions and 96 deletions
|
@ -1,4 +1,4 @@
|
|||
/* $Id: win32err.c,v 1.1 1999/05/16 07:27:35 ea Exp $
|
||||
/* $Id$
|
||||
*
|
||||
* win32err.c
|
||||
*
|
||||
|
@ -47,14 +47,14 @@ PrintWin32Error(
|
|||
DWORD ErrorCode
|
||||
)
|
||||
{
|
||||
LPVOID lpMsgBuf;
|
||||
PVOID lpMsgBuf;
|
||||
|
||||
FormatMessageW(
|
||||
(FORMAT_MESSAGE_ALLOCATE_BUFFER | FORMAT_MESSAGE_FROM_SYSTEM),
|
||||
NULL,
|
||||
ErrorCode,
|
||||
MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT),
|
||||
(PWCHAR) & lpMsgBuf,
|
||||
(LPWSTR)& lpMsgBuf,
|
||||
0,
|
||||
NULL
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue