Fixed some issues found by winapi_check.
authorPatrik Stridvall <ps@leissner.se>
Sat, 17 Aug 2002 00:21:53 +0000 (00:21 +0000)
committerAlexandre Julliard <julliard@winehq.org>
Sat, 17 Aug 2002 00:21:53 +0000 (00:21 +0000)
dlls/gdi/gdi16.c
dlls/kernel/kernel_main.c
dlls/ole32/compobj.c
dlls/ole32/ole32.spec
dlls/shell32/shellord.c
dlls/urlmon/umon.c

index 6000a41..14e8826 100644 (file)
@@ -1253,6 +1253,7 @@ void WINAPI Resurrection16(HDC16 hdc,
 
 /**********************************************************************
  *          CreateMetaFile     (GDI.125)
+ *          CreateMetaFile16   (GDI32.@)
  */
 HDC16 WINAPI CreateMetaFile16( LPCSTR filename )
 {
index 2469103..1a05ba1 100644 (file)
@@ -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;
index 166af1a..5de9c66 100644 (file)
@@ -1734,7 +1734,7 @@ static int nStatCounter = 0;       /* global */
 static HMODULE hOleAut32 = 0;   /* global */
 
 /***********************************************************************
- *           CoGetState [OLE32.@]
+ *           CoGetState [OLE32.24]
  *
  * NOTES: might be incomplete
  */
index c0a9425..f6800dc 100644 (file)
@@ -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
index 35c2f33..59f4f4b 100644 (file)
@@ -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)
index 1dbe8e8..3043081 100644 (file)
@@ -393,7 +393,8 @@ static void CALLBACK URLMON_InternetCallback(HINTERNET hinet, /*DWORD_PTR*/ DWOR
            This->filesize = len;
            break;
          }
-
+       }
+    }
 
     return;
 }