From 8f4ffb92bde1647e1b29104185bfa77493f7423f Mon Sep 17 00:00:00 2001 From: Patrik Stridvall Date: Tue, 20 Nov 2001 18:55:02 +0000 Subject: [PATCH] Fixed some issues found by winapi_check. --- dlls/msrle32/msrle32.c | 4 ++-- dlls/x11drv/x11drv.spec | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dlls/msrle32/msrle32.c b/dlls/msrle32/msrle32.c index 699fd5e50c..0a537fbf29 100644 --- a/dlls/msrle32/msrle32.c +++ b/dlls/msrle32/msrle32.c @@ -472,7 +472,7 @@ static void Codec_Close( CodecImpl* This ) -LONG APIENTRY MSRLE32_DriverProc( +LONG WINAPI MSRLE32_DriverProc( DWORD dwDriverId, HDRVR hdrvr, UINT msg, LONG lParam1, LONG lParam2 ) { TRACE( "DriverProc(%08lx,%08x,%08x,%08lx,%08lx)\n", @@ -604,7 +604,7 @@ LONG APIENTRY MSRLE32_DriverProc( return DefDriverProc( dwDriverId, hdrvr, msg, lParam1, lParam2 ); } -BOOL APIENTRY MSRLE32_DllMain( HINSTANCE hInst, DWORD dwReason, LPVOID lpvReserved ) +BOOL WINAPI MSRLE32_DllMain( HINSTANCE hInst, DWORD dwReason, LPVOID lpvReserved ) { TRACE( "(%08x,%08lx,%p)\n",hInst,dwReason,lpvReserved ); diff --git a/dlls/x11drv/x11drv.spec b/dlls/x11drv/x11drv.spec index 25ee1f9772..97c4571004 100644 --- a/dlls/x11drv/x11drv.spec +++ b/dlls/x11drv/x11drv.spec @@ -60,7 +60,7 @@ debug_channels (bitblt bitmap clipboard cursor dinput event font gdi graphics # USER driver -@ cdecl InitKeyboard() X11DRV_InitKeyboard +@ cdecl InitKeyboard(ptr) X11DRV_InitKeyboard @ cdecl VkKeyScan(long) X11DRV_VkKeyScan @ cdecl MapVirtualKey(long long) X11DRV_MapVirtualKey @ cdecl GetKeyNameText(long str long) X11DRV_GetKeyNameText