Fixed some issues found by winapi_check.

This commit is contained in:
Patrik Stridvall 2002-05-22 01:55:18 +00:00 committed by Alexandre Julliard
parent bb7cc80fc8
commit 5e6943f421
14 changed files with 48 additions and 20 deletions

View File

@ -222,7 +222,7 @@ static HRESULT WINAPI IAVIFile_fnDeleteStream(IAVIFile*iface,DWORD fccType,LONG
/*********************************************************************** /***********************************************************************
* AVIFileOpenA (AVIFIL32.@) * AVIFileOpenA (AVIFIL32.@)
* AVIFileOpenA (AVIFILE.102) * AVIFileOpen (AVIFILE.102)
*/ */
HRESULT WINAPI AVIFileOpenA( HRESULT WINAPI AVIFileOpenA(
PAVIFILE * ppfile,LPCSTR szFile,UINT uMode,LPCLSID lpHandler PAVIFILE * ppfile,LPCSTR szFile,UINT uMode,LPCLSID lpHandler

View File

@ -28,7 +28,9 @@
#include <unistd.h> #include <unistd.h>
#include <sys/time.h> #include <sys/time.h>
#include <sys/fcntl.h> #include <sys/fcntl.h>
#include <sys/ioctl.h> #ifdef HAVE_SYS_IOCTL_H
# include <sys/ioctl.h>
#endif
#include <errno.h> #include <errno.h>
#ifdef HAVE_SYS_ERRNO_H #ifdef HAVE_SYS_ERRNO_H
# include <sys/errno.h> # include <sys/errno.h>

View File

@ -29,7 +29,9 @@
#include <unistd.h> #include <unistd.h>
#include <sys/time.h> #include <sys/time.h>
#include <sys/fcntl.h> #include <sys/fcntl.h>
#include <sys/ioctl.h> #ifdef HAVE_SYS_IOCTL_H
# include <sys/ioctl.h>
#endif
#include <errno.h> #include <errno.h>
#ifdef HAVE_SYS_ERRNO_H #ifdef HAVE_SYS_ERRNO_H
# include <sys/errno.h> # include <sys/errno.h>

View File

@ -30,7 +30,8 @@
WINE_DEFAULT_DEBUG_CHANNEL(shdocvw); WINE_DEFAULT_DEBUG_CHANNEL(shdocvw);
/*********************************************************************** /***********************************************************************
* DllCanUnloadNow (SHDOCVW.109) */ * DllCanUnloadNow (SHDOCVW.@)
*/
HRESULT WINAPI SHDOCVW_DllCanUnloadNow(void) HRESULT WINAPI SHDOCVW_DllCanUnloadNow(void)
{ {
FIXME("(void): stub\n"); FIXME("(void): stub\n");
@ -39,7 +40,7 @@ HRESULT WINAPI SHDOCVW_DllCanUnloadNow(void)
} }
/************************************************************************* /*************************************************************************
* DllGetClassObject (SHDOCVW.312) * DllGetClassObject (SHDOCVW.@)
*/ */
HRESULT WINAPI SHDOCVW_DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID *ppv) HRESULT WINAPI SHDOCVW_DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID *ppv)
{ {
@ -58,7 +59,7 @@ HRESULT WINAPI SHDOCVW_DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID *p
} }
/*********************************************************************** /***********************************************************************
* DllGetVersion (SHDOCVW.113) * DllGetVersion (SHDOCVW.@)
*/ */
HRESULT WINAPI SHDOCVW_DllGetVersion (DLLVERSIONINFO *pdvi) HRESULT WINAPI SHDOCVW_DllGetVersion (DLLVERSIONINFO *pdvi)
{ {
@ -67,7 +68,7 @@ HRESULT WINAPI SHDOCVW_DllGetVersion (DLLVERSIONINFO *pdvi)
} }
/************************************************************************* /*************************************************************************
* DllInstall (SHDOCVW.114) * DllInstall (SHDOCVW.@)
*/ */
HRESULT WINAPI SHDOCVW_DllInstall(BOOL bInstall, LPCWSTR cmdline) HRESULT WINAPI SHDOCVW_DllInstall(BOOL bInstall, LPCWSTR cmdline)
{ {
@ -77,7 +78,7 @@ HRESULT WINAPI SHDOCVW_DllInstall(BOOL bInstall, LPCWSTR cmdline)
} }
/*********************************************************************** /***********************************************************************
* DllRegisterServer (SHDOCVW.124) * DllRegisterServer (SHDOCVW.@)
*/ */
HRESULT WINAPI SHDOCVW_DllRegisterServer() HRESULT WINAPI SHDOCVW_DllRegisterServer()
{ {
@ -86,7 +87,7 @@ HRESULT WINAPI SHDOCVW_DllRegisterServer()
} }
/*********************************************************************** /***********************************************************************
* DllUnregisterServer (SHDOCVW.127) * DllUnregisterServer (SHDOCVW.@)
*/ */
HRESULT WINAPI SHDOCVW_DllUnregisterServer() HRESULT WINAPI SHDOCVW_DllUnregisterServer()
{ {

View File

@ -510,8 +510,11 @@ void WINAPI DPMI_FreeInternalRMCB( FARPROC16 proc )
} }
/* DPMI Raw Mode Switch handler */ /**********************************************************************
* RawModeSwitch (WINEDOS.@)
*
* DPMI Raw Mode Switch handler
*/
void WINAPI DOSVM_RawModeSwitch( CONTEXT86 *context ) void WINAPI DOSVM_RawModeSwitch( CONTEXT86 *context )
{ {
CONTEXT86 rm_ctx; CONTEXT86 rm_ctx;

View File

@ -37,7 +37,9 @@
#include <unistd.h> #include <unistd.h>
#include <errno.h> #include <errno.h>
#include <fcntl.h> #include <fcntl.h>
#include <sys/ioctl.h> #ifdef HAVE_SYS_IOCTL_H
# include <sys/ioctl.h>
#endif
#ifdef HAVE_SYS_MMAN_H #ifdef HAVE_SYS_MMAN_H
# include <sys/mman.h> # include <sys/mman.h>
#endif #endif

View File

@ -31,7 +31,9 @@
#include <string.h> #include <string.h>
#include <unistd.h> #include <unistd.h>
#include <fcntl.h> #include <fcntl.h>
#include <sys/ioctl.h> #ifdef HAVE_SYS_IOCTL_H
# include <sys/ioctl.h>
#endif
#include "windef.h" #include "windef.h"
#include "winbase.h" #include "winbase.h"

View File

@ -30,7 +30,10 @@
#include <fcntl.h> #include <fcntl.h>
#include <errno.h> #include <errno.h>
#include <assert.h> #include <assert.h>
#include <sys/ioctl.h> #ifdef HAVE_SYS_IOCTL_H
# include <sys/ioctl.h>
#endif
#include "windef.h" #include "windef.h"
#include "mmddk.h" #include "mmddk.h"
#include "oss.h" #include "oss.h"

View File

@ -27,7 +27,10 @@
#include <string.h> #include <string.h>
#include <unistd.h> #include <unistd.h>
#include <fcntl.h> #include <fcntl.h>
#include <sys/ioctl.h> #ifdef HAVE_SYS_IOCTL_H
# include <sys/ioctl.h>
#endif
#include "windef.h" #include "windef.h"
#include "mmddk.h" #include "mmddk.h"
#include "oss.h" #include "oss.h"

View File

@ -41,7 +41,9 @@
#ifdef HAVE_SYS_IPC_H #ifdef HAVE_SYS_IPC_H
# include <sys/ipc.h> # include <sys/ipc.h>
#endif #endif
#include <sys/ioctl.h> #ifdef HAVE_SYS_IOCTL_H
# include <sys/ioctl.h>
#endif
#ifdef HAVE_SYS_FILIO_H #ifdef HAVE_SYS_FILIO_H
# include <sys/filio.h> # include <sys/filio.h>
#endif #endif

View File

@ -32,7 +32,9 @@
#ifdef HAVE_SYS_IPC_H #ifdef HAVE_SYS_IPC_H
# include <sys/ipc.h> # include <sys/ipc.h>
#endif #endif
#include <sys/ioctl.h> #ifdef HAVE_SYS_IOCTL_H
# include <sys/ioctl.h>
#endif
#ifdef HAVE_SYS_FILIO_H #ifdef HAVE_SYS_FILIO_H
# include <sys/filio.h> # include <sys/filio.h>
#endif #endif

View File

@ -49,7 +49,9 @@
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <unistd.h> #include <unistd.h>
#include <sys/ioctl.h> #ifdef HAVE_SYS_IOCTL_H
# include <sys/ioctl.h>
#endif
#include <sys/types.h> #include <sys/types.h>
#ifdef HAVE_SYS_SOCKET_H #ifdef HAVE_SYS_SOCKET_H

View File

@ -833,7 +833,9 @@ void EVENT_ProcessEvent( XEvent *event )
break; break;
case PropertyNotify: case PropertyNotify:
// EVENT_PropertyNotify( (XPropertyEvent *)event ); #if 0
EVENT_PropertyNotify( (XPropertyEvent *)event );
#endif
break; break;
default: /* ignore all other events */ default: /* ignore all other events */

View File

@ -26,7 +26,9 @@
#include <sys/types.h> #include <sys/types.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <fcntl.h> #include <fcntl.h>
#include <sys/ioctl.h> #ifdef HAVE_SYS_IOCTL_H
# include <sys/ioctl.h>
#endif
#include <errno.h> #include <errno.h>
#include <linux/ppdev.h> #include <linux/ppdev.h>