Commit 308e04fc authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

Compile the kernel dll with -DSTRICT.

parent 461708c1
EXTRADEFS = -DWINE_NO_STRICT
TOPSRCDIR = @top_srcdir@ TOPSRCDIR = @top_srcdir@
TOPOBJDIR = ../.. TOPOBJDIR = ../..
SRCDIR = @srcdir@ SRCDIR = @srcdir@
......
...@@ -589,10 +589,10 @@ BOOL WINAPI EscapeCommFunction( ...@@ -589,10 +589,10 @@ BOOL WINAPI EscapeCommFunction(
int fd,direct=FALSE,result=FALSE; int fd,direct=FALSE,result=FALSE;
struct termios port; struct termios port;
TRACE("handle %d, function=%d\n", handle, nFunction); TRACE("handle %p, function=%d\n", handle, nFunction);
fd = FILE_GetUnixHandle( handle, GENERIC_READ ); fd = FILE_GetUnixHandle( handle, GENERIC_READ );
if(fd<0) { if(fd<0) {
FIXME("handle %d not found.\n",handle); FIXME("handle %p not found.\n",handle);
return FALSE; return FALSE;
} }
...@@ -663,7 +663,7 @@ BOOL WINAPI EscapeCommFunction( ...@@ -663,7 +663,7 @@ BOOL WINAPI EscapeCommFunction(
break; break;
#endif #endif
default: default:
WARN("(handle=%d,nFunction=%d): Unknown function\n", WARN("(handle=%p,nFunction=%d): Unknown function\n",
handle, nFunction); handle, nFunction);
break; break;
} }
...@@ -705,11 +705,11 @@ BOOL WINAPI PurgeComm( ...@@ -705,11 +705,11 @@ BOOL WINAPI PurgeComm(
{ {
int fd; int fd;
TRACE("handle %d, flags %lx\n", handle, flags); TRACE("handle %p, flags %lx\n", handle, flags);
fd = FILE_GetUnixHandle( handle, GENERIC_READ ); fd = FILE_GetUnixHandle( handle, GENERIC_READ );
if(fd<0) { if(fd<0) {
FIXME("no handle %d found\n",handle); FIXME("no handle %p found\n",handle);
return FALSE; return FALSE;
} }
...@@ -751,7 +751,7 @@ BOOL WINAPI ClearCommError( ...@@ -751,7 +751,7 @@ BOOL WINAPI ClearCommError(
fd=FILE_GetUnixHandle( handle, GENERIC_READ ); fd=FILE_GetUnixHandle( handle, GENERIC_READ );
if(0>fd) if(0>fd)
{ {
FIXME("no handle %d found\n",handle); FIXME("no handle %p found\n",handle);
return FALSE; return FALSE;
} }
...@@ -778,7 +778,7 @@ BOOL WINAPI ClearCommError( ...@@ -778,7 +778,7 @@ BOOL WINAPI ClearCommError(
WARN("ioctl returned error\n"); WARN("ioctl returned error\n");
#endif #endif
TRACE("handle %d cbInQue = %ld cbOutQue = %ld\n", TRACE("handle %p cbInQue = %ld cbOutQue = %ld\n",
handle, lpStat->cbInQue, lpStat->cbOutQue); handle, lpStat->cbInQue, lpStat->cbOutQue);
} }
...@@ -814,7 +814,7 @@ BOOL WINAPI SetupComm( ...@@ -814,7 +814,7 @@ BOOL WINAPI SetupComm(
FIXME("insize %ld outsize %ld unimplemented stub\n", insize, outsize); FIXME("insize %ld outsize %ld unimplemented stub\n", insize, outsize);
fd=FILE_GetUnixHandle( handle, GENERIC_READ ); fd=FILE_GetUnixHandle( handle, GENERIC_READ );
if(0>fd) { if(0>fd) {
FIXME("handle %d not found?\n",handle); FIXME("handle %p not found?\n",handle);
return FALSE; return FALSE;
} }
close(fd); close(fd);
...@@ -837,7 +837,7 @@ BOOL WINAPI GetCommMask( ...@@ -837,7 +837,7 @@ BOOL WINAPI GetCommMask(
{ {
BOOL ret; BOOL ret;
TRACE("handle %d, mask %p\n", handle, evtmask); TRACE("handle %p, mask %p\n", handle, evtmask);
SERVER_START_REQ( get_serial_info ) SERVER_START_REQ( get_serial_info )
{ {
...@@ -868,7 +868,7 @@ BOOL WINAPI SetCommMask( ...@@ -868,7 +868,7 @@ BOOL WINAPI SetCommMask(
{ {
BOOL ret; BOOL ret;
TRACE("handle %d, mask %lx\n", handle, evtmask); TRACE("handle %p, mask %lx\n", handle, evtmask);
SERVER_START_REQ( set_serial_info ) SERVER_START_REQ( set_serial_info )
{ {
...@@ -899,7 +899,7 @@ BOOL WINAPI SetCommState( ...@@ -899,7 +899,7 @@ BOOL WINAPI SetCommState(
struct termios port; struct termios port;
int fd, bytesize, stopbits; int fd, bytesize, stopbits;
TRACE("handle %d, ptr %p\n", handle, lpdcb); TRACE("handle %p, ptr %p\n", handle, lpdcb);
TRACE("bytesize %d baudrate %ld fParity %d Parity %d stopbits %d\n", TRACE("bytesize %d baudrate %ld fParity %d Parity %d stopbits %d\n",
lpdcb->ByteSize,lpdcb->BaudRate,lpdcb->fParity, lpdcb->Parity, lpdcb->ByteSize,lpdcb->BaudRate,lpdcb->fParity, lpdcb->Parity,
(lpdcb->StopBits == ONESTOPBIT)?1: (lpdcb->StopBits == ONESTOPBIT)?1:
...@@ -909,7 +909,7 @@ BOOL WINAPI SetCommState( ...@@ -909,7 +909,7 @@ BOOL WINAPI SetCommState(
fd = FILE_GetUnixHandle( handle, GENERIC_READ ); fd = FILE_GetUnixHandle( handle, GENERIC_READ );
if (fd < 0) { if (fd < 0) {
FIXME("no handle %d found\n",handle); FIXME("no handle %p found\n",handle);
return FALSE; return FALSE;
} }
...@@ -1250,7 +1250,7 @@ BOOL WINAPI GetCommState( ...@@ -1250,7 +1250,7 @@ BOOL WINAPI GetCommState(
struct termios port; struct termios port;
int fd,speed; int fd,speed;
TRACE("handle %d, ptr %p\n", handle, lpdcb); TRACE("handle %p, ptr %p\n", handle, lpdcb);
fd = FILE_GetUnixHandle( handle, GENERIC_READ ); fd = FILE_GetUnixHandle( handle, GENERIC_READ );
if (fd < 0) if (fd < 0)
...@@ -1457,7 +1457,7 @@ BOOL WINAPI TransmitCommChar( ...@@ -1457,7 +1457,7 @@ BOOL WINAPI TransmitCommChar(
BOOL r = FALSE; BOOL r = FALSE;
int fd; int fd;
WARN("(%x,'%c') not perfect!\n",hComm,chTransmit); WARN("(%p,'%c') not perfect!\n",hComm,chTransmit);
fd = FILE_GetUnixHandle( hComm, GENERIC_READ ); fd = FILE_GetUnixHandle( hComm, GENERIC_READ );
if ( fd < 0 ) if ( fd < 0 )
...@@ -1488,7 +1488,7 @@ BOOL WINAPI GetCommTimeouts( ...@@ -1488,7 +1488,7 @@ BOOL WINAPI GetCommTimeouts(
{ {
BOOL ret; BOOL ret;
TRACE("(%x,%p)\n",hComm,lptimeouts); TRACE("(%p,%p)\n",hComm,lptimeouts);
if(!lptimeouts) if(!lptimeouts)
{ {
...@@ -1536,7 +1536,7 @@ BOOL WINAPI SetCommTimeouts( ...@@ -1536,7 +1536,7 @@ BOOL WINAPI SetCommTimeouts(
int fd; int fd;
struct termios tios; struct termios tios;
TRACE("(%x,%p)\n",hComm,lptimeouts); TRACE("(%p,%p)\n",hComm,lptimeouts);
if(!lptimeouts) if(!lptimeouts)
{ {
...@@ -1561,7 +1561,7 @@ BOOL WINAPI SetCommTimeouts( ...@@ -1561,7 +1561,7 @@ BOOL WINAPI SetCommTimeouts(
/* FIXME: move this stuff to the server */ /* FIXME: move this stuff to the server */
fd = FILE_GetUnixHandle( hComm, GENERIC_READ ); fd = FILE_GetUnixHandle( hComm, GENERIC_READ );
if (fd < 0) { if (fd < 0) {
FIXME("no fd for handle = %0x!.\n",hComm); FIXME("no fd for handle = %p!.\n",hComm);
return FALSE; return FALSE;
} }
...@@ -1750,7 +1750,7 @@ BOOL WINAPI WaitCommEvent( ...@@ -1750,7 +1750,7 @@ BOOL WINAPI WaitCommEvent(
OVERLAPPED ov; OVERLAPPED ov;
int ret; int ret;
TRACE("(%x %p %p )\n",hFile, lpdwEvents,lpOverlapped); TRACE("(%p %p %p )\n",hFile, lpdwEvents,lpOverlapped);
if(lpOverlapped) if(lpOverlapped)
return COMM_WaitCommEvent(hFile, lpdwEvents, lpOverlapped); return COMM_WaitCommEvent(hFile, lpdwEvents, lpOverlapped);
...@@ -1789,7 +1789,7 @@ BOOL WINAPI GetCommProperties( ...@@ -1789,7 +1789,7 @@ BOOL WINAPI GetCommProperties(
HANDLE hFile, /* [in] handle of the comm port */ HANDLE hFile, /* [in] handle of the comm port */
LPCOMMPROP lpCommProp) /* [out] pointer to struct to be filled */ LPCOMMPROP lpCommProp) /* [out] pointer to struct to be filled */
{ {
FIXME("(%d %p )\n",hFile,lpCommProp); FIXME("(%p %p )\n",hFile,lpCommProp);
if(!lpCommProp) if(!lpCommProp)
return FALSE; return FALSE;
...@@ -1864,7 +1864,7 @@ BOOL WINAPI CommConfigDialogA( ...@@ -1864,7 +1864,7 @@ BOOL WINAPI CommConfigDialogA(
HMODULE hConfigModule; HMODULE hConfigModule;
BOOL r; BOOL r;
TRACE("(%p %x %p)\n",lpszDevice, hWnd, lpCommConfig); TRACE("(%p %p %p)\n",lpszDevice, hWnd, lpCommConfig);
hConfigModule = LoadLibraryA(lpszSerialUI); hConfigModule = LoadLibraryA(lpszSerialUI);
if(!hConfigModule) if(!hConfigModule)
...@@ -1925,7 +1925,7 @@ BOOL WINAPI GetCommConfig( ...@@ -1925,7 +1925,7 @@ BOOL WINAPI GetCommConfig(
{ {
BOOL r; BOOL r;
TRACE("(%x %p)\n",hFile,lpCommConfig); TRACE("(%p %p)\n",hFile,lpCommConfig);
if(lpCommConfig == NULL) if(lpCommConfig == NULL)
return FALSE; return FALSE;
...@@ -1960,7 +1960,7 @@ BOOL WINAPI SetCommConfig( ...@@ -1960,7 +1960,7 @@ BOOL WINAPI SetCommConfig(
LPCOMMCONFIG lpCommConfig, /* [in] The desired configuration. */ LPCOMMCONFIG lpCommConfig, /* [in] The desired configuration. */
DWORD dwSize) /* [in] size of the lpCommConfig struct */ DWORD dwSize) /* [in] size of the lpCommConfig struct */
{ {
TRACE("(%x %p)\n",hFile,lpCommConfig); TRACE("(%p %p)\n",hFile,lpCommConfig);
return SetCommState(hFile,&lpCommConfig->dcb); return SetCommState(hFile,&lpCommConfig->dcb);
} }
......
...@@ -190,7 +190,7 @@ BOOL WINAPI WriteConsoleInputW( HANDLE handle, const INPUT_RECORD *buffer, ...@@ -190,7 +190,7 @@ BOOL WINAPI WriteConsoleInputW( HANDLE handle, const INPUT_RECORD *buffer,
{ {
BOOL ret; BOOL ret;
TRACE("(%d,%p,%ld,%p)\n", handle, buffer, count, written); TRACE("(%p,%p,%ld,%p)\n", handle, buffer, count, written);
if (written) *written = 0; if (written) *written = 0;
SERVER_START_REQ( write_console_input ) SERVER_START_REQ( write_console_input )
...@@ -253,7 +253,7 @@ BOOL WINAPI WriteConsoleOutputW( HANDLE hConsoleOutput, const CHAR_INFO *lpBuffe ...@@ -253,7 +253,7 @@ BOOL WINAPI WriteConsoleOutputW( HANDLE hConsoleOutput, const CHAR_INFO *lpBuffe
int width, height, y; int width, height, y;
BOOL ret = TRUE; BOOL ret = TRUE;
TRACE("(%x,%p,(%d,%d),(%d,%d),(%d,%dx%d,%d)\n", TRACE("(%p,%p,(%d,%d),(%d,%d),(%d,%dx%d,%d)\n",
hConsoleOutput, lpBuffer, size.X, size.Y, coord.X, coord.Y, hConsoleOutput, lpBuffer, size.X, size.Y, coord.X, coord.Y,
region->Left, region->Top, region->Right, region->Bottom); region->Left, region->Top, region->Right, region->Bottom);
...@@ -307,7 +307,7 @@ BOOL WINAPI WriteConsoleOutputCharacterA( HANDLE hConsoleOutput, LPCSTR str, DWO ...@@ -307,7 +307,7 @@ BOOL WINAPI WriteConsoleOutputCharacterA( HANDLE hConsoleOutput, LPCSTR str, DWO
LPWSTR strW; LPWSTR strW;
DWORD lenW; DWORD lenW;
TRACE("(%d,%s,%ld,%dx%d,%p)\n", hConsoleOutput, TRACE("(%p,%s,%ld,%dx%d,%p)\n", hConsoleOutput,
debugstr_an(str, length), length, coord.X, coord.Y, lpNumCharsWritten); debugstr_an(str, length), length, coord.X, coord.Y, lpNumCharsWritten);
lenW = MultiByteToWideChar( GetConsoleOutputCP(), 0, str, length, NULL, 0 ); lenW = MultiByteToWideChar( GetConsoleOutputCP(), 0, str, length, NULL, 0 );
...@@ -344,7 +344,7 @@ BOOL WINAPI WriteConsoleOutputAttribute( HANDLE hConsoleOutput, CONST WORD *attr ...@@ -344,7 +344,7 @@ BOOL WINAPI WriteConsoleOutputAttribute( HANDLE hConsoleOutput, CONST WORD *attr
{ {
BOOL ret; BOOL ret;
TRACE("(%d,%p,%ld,%dx%d,%p)\n", hConsoleOutput,attr,length,coord.X,coord.Y,lpNumAttrsWritten); TRACE("(%p,%p,%ld,%dx%d,%p)\n", hConsoleOutput,attr,length,coord.X,coord.Y,lpNumAttrsWritten);
SERVER_START_REQ( write_console_output ) SERVER_START_REQ( write_console_output )
{ {
...@@ -407,7 +407,7 @@ BOOL WINAPI FillConsoleOutputCharacterW( HANDLE hConsoleOutput, WCHAR ch, DWORD ...@@ -407,7 +407,7 @@ BOOL WINAPI FillConsoleOutputCharacterW( HANDLE hConsoleOutput, WCHAR ch, DWORD
{ {
BOOL ret; BOOL ret;
TRACE("(%d,%s,%ld,(%dx%d),%p)\n", TRACE("(%p,%s,%ld,(%dx%d),%p)\n",
hConsoleOutput, debugstr_wn(&ch, 1), length, coord.X, coord.Y, lpNumCharsWritten); hConsoleOutput, debugstr_wn(&ch, 1), length, coord.X, coord.Y, lpNumCharsWritten);
SERVER_START_REQ( fill_console_output ) SERVER_START_REQ( fill_console_output )
...@@ -448,7 +448,7 @@ BOOL WINAPI FillConsoleOutputAttribute( HANDLE hConsoleOutput, WORD attr, DWORD ...@@ -448,7 +448,7 @@ BOOL WINAPI FillConsoleOutputAttribute( HANDLE hConsoleOutput, WORD attr, DWORD
{ {
BOOL ret; BOOL ret;
TRACE("(%d,%d,%ld,(%dx%d),%p)\n", TRACE("(%p,%d,%ld,(%dx%d),%p)\n",
hConsoleOutput, attr, length, coord.X, coord.Y, lpNumAttrsWritten); hConsoleOutput, attr, length, coord.X, coord.Y, lpNumAttrsWritten);
SERVER_START_REQ( fill_console_output ) SERVER_START_REQ( fill_console_output )
...@@ -503,7 +503,7 @@ BOOL WINAPI ReadConsoleOutputCharacterW( HANDLE hConsoleOutput, LPWSTR buffer, D ...@@ -503,7 +503,7 @@ BOOL WINAPI ReadConsoleOutputCharacterW( HANDLE hConsoleOutput, LPWSTR buffer, D
{ {
BOOL ret; BOOL ret;
TRACE( "(%d,%p,%ld,%dx%d,%p)\n", hConsoleOutput, buffer, count, coord.X, coord.Y, read_count ); TRACE( "(%p,%p,%ld,%dx%d,%p)\n", hConsoleOutput, buffer, count, coord.X, coord.Y, read_count );
SERVER_START_REQ( read_console_output ) SERVER_START_REQ( read_console_output )
{ {
...@@ -531,7 +531,7 @@ BOOL WINAPI ReadConsoleOutputAttribute(HANDLE hConsoleOutput, LPWORD lpAttribute ...@@ -531,7 +531,7 @@ BOOL WINAPI ReadConsoleOutputAttribute(HANDLE hConsoleOutput, LPWORD lpAttribute
{ {
BOOL ret; BOOL ret;
TRACE("(%d,%p,%ld,%dx%d,%p)\n", TRACE("(%p,%p,%ld,%dx%d,%p)\n",
hConsoleOutput, lpAttribute, length, coord.X, coord.Y, read_count); hConsoleOutput, lpAttribute, length, coord.X, coord.Y, read_count);
SERVER_START_REQ( read_console_output ) SERVER_START_REQ( read_console_output )
...@@ -855,7 +855,7 @@ static BOOL start_console_renderer_helper(const char* appname, STARTUPINFOA* ...@@ -855,7 +855,7 @@ static BOOL start_console_renderer_helper(const char* appname, STARTUPINFOA*
PROCESS_INFORMATION pi; PROCESS_INFORMATION pi;
/* FIXME: use dynamic allocation for most of the buffers below */ /* FIXME: use dynamic allocation for most of the buffers below */
ret = snprintf(buffer, sizeof(buffer), "%s --use-event=%d", appname, hEvent); ret = snprintf(buffer, sizeof(buffer), "%s --use-event=%d", appname, (INT)hEvent);
if ((ret > -1) && (ret < sizeof(buffer)) && if ((ret > -1) && (ret < sizeof(buffer)) &&
CreateProcessA(NULL, buffer, NULL, NULL, TRUE, DETACHED_PROCESS, CreateProcessA(NULL, buffer, NULL, NULL, TRUE, DETACHED_PROCESS,
NULL, NULL, si, &pi)) NULL, NULL, si, &pi))
...@@ -1039,7 +1039,7 @@ BOOL WINAPI ReadConsoleW(HANDLE hConsoleInput, LPVOID lpBuffer, ...@@ -1039,7 +1039,7 @@ BOOL WINAPI ReadConsoleW(HANDLE hConsoleInput, LPVOID lpBuffer,
LPWSTR xbuf = (LPWSTR)lpBuffer; LPWSTR xbuf = (LPWSTR)lpBuffer;
DWORD mode; DWORD mode;
TRACE("(%d,%p,%ld,%p,%p)\n", TRACE("(%p,%p,%ld,%p,%p)\n",
hConsoleInput, lpBuffer, nNumberOfCharsToRead, lpNumberOfCharsRead, lpReserved); hConsoleInput, lpBuffer, nNumberOfCharsToRead, lpNumberOfCharsRead, lpReserved);
if (!GetConsoleMode(hConsoleInput, &mode)) if (!GetConsoleMode(hConsoleInput, &mode))
...@@ -1137,7 +1137,7 @@ BOOL WINAPI WriteConsoleOutputCharacterW( HANDLE hConsoleOutput, LPCWSTR str, DW ...@@ -1137,7 +1137,7 @@ BOOL WINAPI WriteConsoleOutputCharacterW( HANDLE hConsoleOutput, LPCWSTR str, DW
{ {
BOOL ret; BOOL ret;
TRACE("(%d,%s,%ld,%dx%d,%p)\n", hConsoleOutput, TRACE("(%p,%s,%ld,%dx%d,%p)\n", hConsoleOutput,
debugstr_wn(str, length), length, coord.X, coord.Y, lpNumCharsWritten); debugstr_wn(str, length), length, coord.X, coord.Y, lpNumCharsWritten);
SERVER_START_REQ( write_console_output ) SERVER_START_REQ( write_console_output )
...@@ -1503,7 +1503,7 @@ BOOL WINAPI SetConsoleActiveScreenBuffer(HANDLE hConsoleOutput) ...@@ -1503,7 +1503,7 @@ BOOL WINAPI SetConsoleActiveScreenBuffer(HANDLE hConsoleOutput)
{ {
BOOL ret; BOOL ret;
TRACE("(%x)\n", hConsoleOutput); TRACE("(%p)\n", hConsoleOutput);
SERVER_START_REQ( set_console_input_info ) SERVER_START_REQ( set_console_input_info )
{ {
...@@ -1568,7 +1568,7 @@ BOOL WINAPI SetConsoleMode(HANDLE hcon, DWORD mode) ...@@ -1568,7 +1568,7 @@ BOOL WINAPI SetConsoleMode(HANDLE hcon, DWORD mode)
* empty the S_EditString buffer * empty the S_EditString buffer
*/ */
TRACE("(%x,%lx) retval == %d\n", hcon, mode, ret); TRACE("(%p,%lx) retval == %d\n", hcon, mode, ret);
return ret; return ret;
} }
...@@ -1697,7 +1697,7 @@ BOOL WINAPI WriteConsoleW(HANDLE hConsoleOutput, LPCVOID lpBuffer, DWORD nNumber ...@@ -1697,7 +1697,7 @@ BOOL WINAPI WriteConsoleW(HANDLE hConsoleOutput, LPCVOID lpBuffer, DWORD nNumber
CONSOLE_SCREEN_BUFFER_INFO csbi; CONSOLE_SCREEN_BUFFER_INFO csbi;
int k, first = 0; int k, first = 0;
TRACE("%d %s %ld %p %p\n", TRACE("%p %s %ld %p %p\n",
hConsoleOutput, debugstr_wn(lpBuffer, nNumberOfCharsToWrite), hConsoleOutput, debugstr_wn(lpBuffer, nNumberOfCharsToWrite),
nNumberOfCharsToWrite, lpNumberOfCharsWritten, lpReserved); nNumberOfCharsToWrite, lpNumberOfCharsWritten, lpReserved);
...@@ -1814,7 +1814,7 @@ BOOL WINAPI SetConsoleCursorPosition(HANDLE hcon, COORD pos) ...@@ -1814,7 +1814,7 @@ BOOL WINAPI SetConsoleCursorPosition(HANDLE hcon, COORD pos)
int do_move = 0; int do_move = 0;
int w, h; int w, h;
TRACE("%x %d %d\n", hcon, pos.X, pos.Y); TRACE("%p %d %d\n", hcon, pos.X, pos.Y);
SERVER_START_REQ(set_console_output_info) SERVER_START_REQ(set_console_output_info)
{ {
...@@ -2072,14 +2072,14 @@ BOOL WINAPI ScrollConsoleScreenBufferW(HANDLE hConsoleOutput, LPSMALL_RECT lpScr ...@@ -2072,14 +2072,14 @@ BOOL WINAPI ScrollConsoleScreenBufferW(HANDLE hConsoleOutput, LPSMALL_RECT lpScr
BOOL inside; BOOL inside;
if (lpClipRect) if (lpClipRect)
TRACE("(%d,(%d,%d-%d,%d),(%d,%d-%d,%d),%d-%d,%p)\n", hConsoleOutput, TRACE("(%p,(%d,%d-%d,%d),(%d,%d-%d,%d),%d-%d,%p)\n", hConsoleOutput,
lpScrollRect->Left, lpScrollRect->Top, lpScrollRect->Left, lpScrollRect->Top,
lpScrollRect->Right, lpScrollRect->Bottom, lpScrollRect->Right, lpScrollRect->Bottom,
lpClipRect->Left, lpClipRect->Top, lpClipRect->Left, lpClipRect->Top,
lpClipRect->Right, lpClipRect->Bottom, lpClipRect->Right, lpClipRect->Bottom,
dwDestOrigin.X, dwDestOrigin.Y, lpFill); dwDestOrigin.X, dwDestOrigin.Y, lpFill);
else else
TRACE("(%d,(%d,%d-%d,%d),(nil),%d-%d,%p)\n", hConsoleOutput, TRACE("(%p,(%d,%d-%d,%d),(nil),%d-%d,%p)\n", hConsoleOutput,
lpScrollRect->Left, lpScrollRect->Top, lpScrollRect->Left, lpScrollRect->Top,
lpScrollRect->Right, lpScrollRect->Bottom, lpScrollRect->Right, lpScrollRect->Bottom,
dwDestOrigin.X, dwDestOrigin.Y, lpFill); dwDestOrigin.X, dwDestOrigin.Y, lpFill);
......
...@@ -282,7 +282,7 @@ BOOL WINAPI DebugBreakProcess(HANDLE hProc) ...@@ -282,7 +282,7 @@ BOOL WINAPI DebugBreakProcess(HANDLE hProc)
{ {
BOOL ret, self; BOOL ret, self;
TRACE("(%08x)\n", hProc); TRACE("(%p)\n", hProc);
SERVER_START_REQ( debug_break ) SERVER_START_REQ( debug_break )
{ {
......
...@@ -696,7 +696,7 @@ BOOL WINAPI ConnectNamedPipe(HANDLE hPipe, LPOVERLAPPED overlapped) ...@@ -696,7 +696,7 @@ BOOL WINAPI ConnectNamedPipe(HANDLE hPipe, LPOVERLAPPED overlapped)
OVERLAPPED ov; OVERLAPPED ov;
BOOL ret; BOOL ret;
TRACE("(%d,%p)\n",hPipe, overlapped); TRACE("(%p,%p)\n",hPipe, overlapped);
if(overlapped) if(overlapped)
return SYNC_ConnectNamedPipe(hPipe,overlapped); return SYNC_ConnectNamedPipe(hPipe,overlapped);
...@@ -728,7 +728,7 @@ BOOL WINAPI DisconnectNamedPipe(HANDLE hPipe) ...@@ -728,7 +728,7 @@ BOOL WINAPI DisconnectNamedPipe(HANDLE hPipe)
{ {
BOOL ret; BOOL ret;
TRACE("(%d)\n",hPipe); TRACE("(%p)\n",hPipe);
SERVER_START_REQ( disconnect_named_pipe ) SERVER_START_REQ( disconnect_named_pipe )
{ {
...@@ -747,7 +747,7 @@ BOOL WINAPI TransactNamedPipe( ...@@ -747,7 +747,7 @@ BOOL WINAPI TransactNamedPipe(
HANDLE hPipe, LPVOID lpInput, DWORD dwInputSize, LPVOID lpOutput, HANDLE hPipe, LPVOID lpInput, DWORD dwInputSize, LPVOID lpOutput,
DWORD dwOutputSize, LPDWORD lpBytesRead, LPOVERLAPPED lpOverlapped) DWORD dwOutputSize, LPDWORD lpBytesRead, LPOVERLAPPED lpOverlapped)
{ {
FIXME("%d %p %ld %p %ld %p %p\n", FIXME("%p %p %ld %p %ld %p %p\n",
hPipe, lpInput, dwInputSize, lpOutput, hPipe, lpInput, dwInputSize, lpOutput,
dwOutputSize, lpBytesRead, lpOverlapped); dwOutputSize, lpBytesRead, lpOverlapped);
if(lpBytesRead) if(lpBytesRead)
...@@ -764,7 +764,7 @@ BOOL WINAPI GetNamedPipeInfo( ...@@ -764,7 +764,7 @@ BOOL WINAPI GetNamedPipeInfo(
{ {
BOOL ret; BOOL ret;
TRACE("%d %p %p %p %p\n", hNamedPipe, lpFlags, TRACE("%p %p %p %p %p\n", hNamedPipe, lpFlags,
lpOutputBufferSize, lpInputBufferSize, lpMaxInstances); lpOutputBufferSize, lpInputBufferSize, lpMaxInstances);
SERVER_START_REQ( get_named_pipe_info ) SERVER_START_REQ( get_named_pipe_info )
...@@ -789,7 +789,7 @@ BOOL WINAPI GetNamedPipeHandleStateA( ...@@ -789,7 +789,7 @@ BOOL WINAPI GetNamedPipeHandleStateA(
LPDWORD lpMaxCollectionCount, LPDWORD lpCollectDataTimeout, LPDWORD lpMaxCollectionCount, LPDWORD lpCollectDataTimeout,
LPSTR lpUsername, DWORD nUsernameMaxSize) LPSTR lpUsername, DWORD nUsernameMaxSize)
{ {
FIXME("%d %p %p %p %p %p %ld\n", FIXME("%p %p %p %p %p %p %ld\n",
hNamedPipe, lpState, lpCurInstances, hNamedPipe, lpState, lpCurInstances,
lpMaxCollectionCount, lpCollectDataTimeout, lpMaxCollectionCount, lpCollectDataTimeout,
lpUsername, nUsernameMaxSize); lpUsername, nUsernameMaxSize);
...@@ -805,7 +805,7 @@ BOOL WINAPI GetNamedPipeHandleStateW( ...@@ -805,7 +805,7 @@ BOOL WINAPI GetNamedPipeHandleStateW(
LPDWORD lpMaxCollectionCount, LPDWORD lpCollectDataTimeout, LPDWORD lpMaxCollectionCount, LPDWORD lpCollectDataTimeout,
LPWSTR lpUsername, DWORD nUsernameMaxSize) LPWSTR lpUsername, DWORD nUsernameMaxSize)
{ {
FIXME("%d %p %p %p %p %p %ld\n", FIXME("%p %p %p %p %p %p %ld\n",
hNamedPipe, lpState, lpCurInstances, hNamedPipe, lpState, lpCurInstances,
lpMaxCollectionCount, lpCollectDataTimeout, lpMaxCollectionCount, lpCollectDataTimeout,
lpUsername, nUsernameMaxSize); lpUsername, nUsernameMaxSize);
...@@ -820,7 +820,7 @@ BOOL WINAPI SetNamedPipeHandleState( ...@@ -820,7 +820,7 @@ BOOL WINAPI SetNamedPipeHandleState(
HANDLE hNamedPipe, LPDWORD lpMode, LPDWORD lpMaxCollectionCount, HANDLE hNamedPipe, LPDWORD lpMode, LPDWORD lpMaxCollectionCount,
LPDWORD lpCollectDataTimeout) LPDWORD lpCollectDataTimeout)
{ {
FIXME("%d %p %p %p\n", FIXME("%p %p %p %p\n",
hNamedPipe, lpMode, lpMaxCollectionCount, lpCollectDataTimeout); hNamedPipe, lpMode, lpMaxCollectionCount, lpCollectDataTimeout);
return FALSE; return FALSE;
} }
......
...@@ -2013,7 +2013,7 @@ void WINAPI HouseCleanLogicallyDeadHandles(void) ...@@ -2013,7 +2013,7 @@ void WINAPI HouseCleanLogicallyDeadHandles(void)
*/ */
BOOL WINAPI _KERNEL32_100(HANDLE threadid,DWORD exitcode,DWORD x) BOOL WINAPI _KERNEL32_100(HANDLE threadid,DWORD exitcode,DWORD x)
{ {
FIXME("(%d,%ld,0x%08lx): stub\n",threadid,exitcode,x); FIXME("(%p,%ld,0x%08lx): stub\n",threadid,exitcode,x);
return TRUE; return TRUE;
} }
......
...@@ -239,7 +239,7 @@ HANDLE WINAPI K32WOWHandle32( WORD handle, WOW_HANDLE_TYPE type ) ...@@ -239,7 +239,7 @@ HANDLE WINAPI K32WOWHandle32( WORD handle, WOW_HANDLE_TYPE type )
WORD WINAPI K32WOWHandle16( HANDLE handle, WOW_HANDLE_TYPE type ) WORD WINAPI K32WOWHandle16( HANDLE handle, WOW_HANDLE_TYPE type )
{ {
if ( HIWORD(handle ) ) if ( HIWORD(handle ) )
ERR( "handle 0x%08x of type %d has non-zero HIWORD\n", handle, type ); ERR( "handle %p of type %d has non-zero HIWORD\n", handle, type );
switch ( type ) switch ( type )
{ {
...@@ -266,7 +266,7 @@ WORD WINAPI K32WOWHandle16( HANDLE handle, WOW_HANDLE_TYPE type ) ...@@ -266,7 +266,7 @@ WORD WINAPI K32WOWHandle16( HANDLE handle, WOW_HANDLE_TYPE type )
return THREAD_IdToTEB((DWORD)handle)->htask16; return THREAD_IdToTEB((DWORD)handle)->htask16;
default: default:
ERR( "handle 0x%08x of unknown type %d\n", handle, type ); ERR( "handle %p of unknown type %d\n", handle, type );
return LOWORD(handle); return LOWORD(handle);
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment