Fixed some issues found by winapi_check.

This commit is contained in:
Patrik Stridvall 2002-08-17 00:21:53 +00:00 committed by Alexandre Julliard
parent 9f7c51d02e
commit d97f7cdecb
6 changed files with 11 additions and 5 deletions

View file

@ -1253,6 +1253,7 @@ void WINAPI Resurrection16(HDC16 hdc,
/**********************************************************************
* CreateMetaFile (GDI.125)
* CreateMetaFile16 (GDI32.@)
*/
HDC16 WINAPI CreateMetaFile16( LPCSTR filename )
{

View 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;

View file

@ -1734,7 +1734,7 @@ static int nStatCounter = 0; /* global */
static HMODULE hOleAut32 = 0; /* global */
/***********************************************************************
* CoGetState [OLE32.@]
* CoGetState [OLE32.24]
*
* NOTES: might be incomplete
*/

View 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

View 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)

View file

@ -393,7 +393,8 @@ static void CALLBACK URLMON_InternetCallback(HINTERNET hinet, /*DWORD_PTR*/ DWOR
This->filesize = len;
break;
}
}
}
return;
}