From d97f7cdecbc885ff7be47207130187b2944ac571 Mon Sep 17 00:00:00 2001 From: Patrik Stridvall Date: Sat, 17 Aug 2002 00:21:53 +0000 Subject: [PATCH] Fixed some issues found by winapi_check. --- dlls/gdi/gdi16.c | 1 + dlls/kernel/kernel_main.c | 6 +++++- dlls/ole32/compobj.c | 2 +- dlls/ole32/ole32.spec | 2 +- dlls/shell32/shellord.c | 2 +- dlls/urlmon/umon.c | 3 ++- 6 files changed, 11 insertions(+), 5 deletions(-) diff --git a/dlls/gdi/gdi16.c b/dlls/gdi/gdi16.c index 6000a41f127..14e8826f84c 100644 --- a/dlls/gdi/gdi16.c +++ b/dlls/gdi/gdi16.c @@ -1253,6 +1253,7 @@ void WINAPI Resurrection16(HDC16 hdc, /********************************************************************** * CreateMetaFile (GDI.125) + * CreateMetaFile16 (GDI32.@) */ HDC16 WINAPI CreateMetaFile16( LPCSTR filename ) { diff --git a/dlls/kernel/kernel_main.c b/dlls/kernel/kernel_main.c index 2469103a935..1a05ba188fb 100644 --- a/dlls/kernel/kernel_main.c +++ b/dlls/kernel/kernel_main.c @@ -156,7 +156,11 @@ LONG WINAPI KERNEL_nop(void) return 0; } -BOOL WINAPI SwitchToThread(VOID) +/*********************************************************************** + * SwitchToThread (KERNEL32.@) + */ + +BOOL WINAPI SwitchToThread(void) { Sleep(0); return 1; diff --git a/dlls/ole32/compobj.c b/dlls/ole32/compobj.c index 166af1aaf27..5de9c66d72c 100644 --- a/dlls/ole32/compobj.c +++ b/dlls/ole32/compobj.c @@ -1734,7 +1734,7 @@ static int nStatCounter = 0; /* global */ static HMODULE hOleAut32 = 0; /* global */ /*********************************************************************** - * CoGetState [OLE32.@] + * CoGetState [OLE32.24] * * NOTES: might be incomplete */ diff --git a/dlls/ole32/ole32.spec b/dlls/ole32/ole32.spec index c0a9425829c..f6800dcfaae 100644 --- a/dlls/ole32/ole32.spec +++ b/dlls/ole32/ole32.spec @@ -23,7 +23,7 @@ init OLE32_DllEntryPoint 21 stdcall CoGetMarshalSizeMax(ptr ptr ptr long ptr long) CoGetMarshalSizeMax 22 stdcall CoGetPSClsid(ptr ptr) CoGetPSClsid 23 stdcall CoGetStandardMarshal(ptr ptr long ptr long ptr) CoGetStandardMarshal - 24 stub CoGetState + 24 stdcall CoGetState(ptr) CoGetState 25 stub CoGetTreatAsClass # stdcall (ptr ptr) return 0,ERR_NOTIMPLEMENTED 26 stdcall CoInitialize(ptr) CoInitialize 27 stdcall CoInitializeWOW(long long) CoInitializeWOW diff --git a/dlls/shell32/shellord.c b/dlls/shell32/shellord.c index 35c2f333e85..59f4f4babad 100644 --- a/dlls/shell32/shellord.c +++ b/dlls/shell32/shellord.c @@ -1008,7 +1008,7 @@ BOOL WINAPI DAD_DragMove(POINT p) return FALSE; } /************************************************************************* - * DAD_Leave [SHELL32.132] + * DAD_DragLeave [SHELL32.132] * */ BOOL WINAPI DAD_DragLeave(VOID) diff --git a/dlls/urlmon/umon.c b/dlls/urlmon/umon.c index 1dbe8e884a7..30430819095 100644 --- a/dlls/urlmon/umon.c +++ b/dlls/urlmon/umon.c @@ -393,7 +393,8 @@ static void CALLBACK URLMON_InternetCallback(HINTERNET hinet, /*DWORD_PTR*/ DWOR This->filesize = len; break; } - + } + } return; }