Fixed some warnings.

This commit is contained in:
Patrik Stridvall 2000-03-28 19:30:06 +00:00 committed by Alexandre Julliard
parent 6d5299523c
commit 39fc90a7b2
3 changed files with 7 additions and 6 deletions

View File

@ -300,7 +300,7 @@ static VOID WINAPI IMalloc_fnFree(LPMALLOC iface,LPVOID pv) {
/******************************************************************************
* IMalloc32_GetSize [VTABLE]
*/
static DWORD WINAPI IMalloc_fnGetSize(const IMalloc* iface,LPVOID pv) {
static DWORD WINAPI IMalloc_fnGetSize(LPMALLOC iface,LPVOID pv) {
ICOM_CTHIS(IMalloc,iface);
TRACE("(%p)->GetSize(%p)\n",This,pv);
return HeapSize(GetProcessHeap(),0,pv);
@ -309,7 +309,7 @@ static DWORD WINAPI IMalloc_fnGetSize(const IMalloc* iface,LPVOID pv) {
/******************************************************************************
* IMalloc32_DidAlloc [VTABLE]
*/
static INT WINAPI IMalloc_fnDidAlloc(const IMalloc* iface,LPVOID pv) {
static INT WINAPI IMalloc_fnDidAlloc(LPMALLOC iface,LPVOID pv) {
ICOM_CTHIS(IMalloc32Impl,iface);
TRACE("(%p)->DidAlloc(%p)\n",This,pv);
return -1;
@ -355,7 +355,7 @@ IMalloc_Constructor() {
*/
/******************************************************************************
* IsValidInterface32 [OLE32.78]
* IsValidInterface [OLE32.78]
*
* RETURNS
* True, if the passed pointer is a valid interface

View File

@ -1,6 +1,9 @@
/*
* TTYDRV initialization code
*/
#include "config.h"
#include <stdio.h>
#include "winbase.h"

View File

@ -246,7 +246,7 @@ INT16 WINAPI SetAbortProc16(HDC16 hdc, SEGPTR abrtprc)
}
/**********************************************************************
* SetAbortProc32 (GDI32.301)
* SetAbortProc (GDI32.301)
*
*/
INT WINAPI SetAbortProc(HDC hdc, ABORTPROC abrtprc)
@ -599,8 +599,6 @@ INT16 WINAPI WriteSpool16(HPJOB16 hJob, LPSTR lpData, INT16 cch)
*/
INT16 WINAPI WriteDialog16(HPJOB16 hJob, LPSTR lpMsg, INT16 cchMsg)
{
int nRet = 0;
TRACE("%04x %04x '%s'\n", hJob, cchMsg, lpMsg);
return Callout.MessageBoxA(0, lpMsg, "Printing Error", MB_OKCANCEL);