*** winapi_check * tools/winapi/win32.api, tools/winapi_check/winapi_check: API files update. *** winapi_checked * 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: Fixed some issues found by winapi_check.
controls/desktop.c: #include <unistd.h>: is a conditional include, but is not protected controls/icontitle.c: #include <unistd.h>: is a conditional include, but is not protected dlls/comctl32/comctl32undoc.c:2818: comctl32: BOOL WINAPI COMCTL32_417(HDC,INT,INT,UINT,RECT *,LPCWSTR,UINT,INT *): argument 5 type is forbidden: RECT * (ptr) dlls/crypt32/main.c:68: crypt32: BOOL WINAPI CryptSIPRetrieveSubjectGuid(LPCWSTR,OPTIONAL,GUID *): no translation defined: OPTIONAL dlls/crypt32/main.c:82: crypt32: BOOL WINAPI CryptGetOIDFunctionValue(DWORD,LPCSTR,LPCSTR,LPCWSTR,DWORD *,BYTE *,DWORD *): argument 2 type is forbidden: LPCSTR (str) dlls/crypt32/main.c:82: crypt32: BOOL WINAPI CryptGetOIDFunctionValue(DWORD,LPCSTR,LPCSTR,LPCWSTR,DWORD *,BYTE *,DWORD *): argument 5 type is forbidden: DWORD * (ptr) dlls/crypt32/main.c:82: crypt32: BOOL WINAPI CryptGetOIDFunctionValue(DWORD,LPCSTR,LPCSTR,LPCWSTR,DWORD *,BYTE *,DWORD *): argument 6 type is forbidden: BYTE * (ptr) dlls/ddraw/direct3d/main.c: #include <unistd.h>: is a conditional include, but is not protected dlls/ddraw/direct3d/mesa.c: #include <unistd.h>: is a conditional include, but is not protected dlls/dinput/joystick/linux.c: #include <unistd.h>: is a conditional include, but is not protected dlls/dinput/joystick/linux.c: #include <sys/time.h>: is a conditional include, but is not protected dlls/dinput/joystick/linuxinput.c: #include <unistd.h>: is a conditional include, but is not protected dlls/dinput/joystick/linuxinput.c: #include <sys/time.h>: is a conditional include, but is not protected dlls/dsound/buffer.c: #include <unistd.h>: is a conditional include, but is not protected dlls/dsound/capture.c: #include <unistd.h>: is a conditional include, but is not protected dlls/dsound/dsound_main.c: #include <unistd.h>: is a conditional include, but is not protected dlls/dsound/mixer.c: #include <unistd.h>: is a conditional include, but is not protected dlls/dsound/primary.c: #include <unistd.h>: is a conditional include, but is not protected dlls/dsound/propset.c: #include <unistd.h>: is a conditional include, but is not protected dlls/dsound/sound3d.c: #include <unistd.h>: is a conditional include, but is not protected dlls/gdi/freetype.c: #include <freetype/fttrigon.h>: is protected, but is not a conditional include dlls/gdi/gdi16.c:1257: gdi.exe & gdi32: HDC16 WINAPI CreateMetaFile16(LPCSTR): documentation: expected CreateMetaFile16 (GDI32.@): \ /********************************************************************** * CreateMetaFile (GDI.125) */ dlls/gdi/printdrv.c: #include <unistd.h>: is a conditional include, but is not protected dlls/gdi/win16drv/prtdrv.c: #include <unistd.h>: is a conditional include, but is not protected dlls/icmp/icmp_main.c: #include <sys/time.h>: is a conditional include, but is not protected dlls/icmp/icmp_main.c: #include <unistd.h>: is a conditional include, but is not protected dlls/kernel/comm.c: #include <unistd.h>: is a conditional include, but is not protected dlls/kernel/console.c: #include <unistd.h>: is a conditional include, but is not protected dlls/kernel/kernel_main.c:159: kernel32: BOOL WINAPI SwitchToThread(void): documentation: EnableDos (KERNEL.41) wrong dlls/kernel/kernel_main.c:159: kernel32: BOOL WINAPI SwitchToThread(void): documentation: DisableDos (KERNEL.42) wrong dlls/kernel/kernel_main.c:159: kernel32: BOOL WINAPI SwitchToThread(void): documentation: GetLastDiskChange (KERNEL.98) wrong dlls/kernel/kernel_main.c:159: kernel32: BOOL WINAPI SwitchToThread(void): documentation: ValidateCodeSegments (KERNEL.100) wrong dlls/kernel/kernel_main.c:159: kernel32: BOOL WINAPI SwitchToThread(void): documentation: KbdRst (KERNEL.123) wrong dlls/kernel/kernel_main.c:159: kernel32: BOOL WINAPI SwitchToThread(void): documentation: EnableKernel (KERNEL.124) wrong dlls/kernel/kernel_main.c:159: kernel32: BOOL WINAPI SwitchToThread(void): documentation: DisableKernel (KERNEL.125) wrong dlls/kernel/kernel_main.c:159: kernel32: BOOL WINAPI SwitchToThread(void): documentation: ValidateFreeSpaces (KERNEL.200) wrong dlls/kernel/kernel_main.c:159: kernel32: BOOL WINAPI SwitchToThread(void): documentation: K237 (KERNEL.237) wrong dlls/kernel/kernel_main.c:159: kernel32: BOOL WINAPI SwitchToThread(void): documentation: BUNNY_351 (KERNEL.351) wrong dlls/kernel/kernel_main.c:159: kernel32: BOOL WINAPI SwitchToThread(void): documentation: PIGLET_361 (KERNEL.361) wrong dlls/kernel/locale.c:566: kernel32: INT WINAPI GetLocaleInfoW(LCID,LCTYPE,LPWSTR,INT): documentation: GetLocaleInfoA (KERNEL32.@) wrong dlls/kernel/sync.c: #include <unistd.h>: is a conditional include, but is not protected dlls/kernel/thunk.c: #include <unistd.h>: is a conditional include, but is not protected dlls/kernel/time.c: #include <unistd.h>: is a conditional include, but is not protected dlls/kernel/time.c: #include <sys/time.h>: is a conditional include, but is not protected dlls/kernel/toolhelp.c: #include <unistd.h>: is a conditional include, but is not protected dlls/lzexpand/lzexpand_main.c: #include <unistd.h>: is a conditional include, but is not protected dlls/mpr/wnet.c: #include <unistd.h>: is a conditional include, but is not protected dlls/msvcrt/file.c: #include <unistd.h>: is a conditional include, but is not protected dlls/msvcrt20/msvcrt20.c:23: <>: void __getmainargs(int *,char **,char **,int,int *): duplicate declaration (first declaration at dlls/crtdll/crtdll_main.c:31) dlls/netapi32/netapi32.c: #include <unistd.h>: is a conditional include, but is not protected dlls/ntdll/cdrom.c: #include <unistd.h>: is a conditional include, but is not protected dlls/ntdll/debugtools.c: #include <unistd.h>: is a conditional include, but is not protected dlls/ntdll/file.c: #include <unistd.h>: is a conditional include, but is not protected dlls/ntdll/om.c: #include <unistd.h>: is a conditional include, but is not protected dlls/ntdll/rtlbitmap.c:75: ntdll: VOID WINAPI RtlInitializeBitMap(PRTL_BITMAP,LPBYTE,ULONG): no translation defined: PRTL_BITMAP dlls/ntdll/rtlbitmap.c:243: ntdll: BOOLEAN WINAPI RtlAreBitsSet(PCRTL_BITMAP,ULONG,ULONG): no translation defined: PCRTL_BITMAP dlls/ntdll/rtlbitmap.c:578: ntdll: CCHAR WINAPI RtlFindMostSignificantBit(ULONGLONG): no translation defined: CCHAR dlls/ntdll/rtlbitmap.c:578: ntdll: CCHAR WINAPI RtlFindMostSignificantBit(ULONGLONG): argument count differs: 2 != 3 dlls/ntdll/rtlbitmap.c:616: ntdll: CCHAR WINAPI RtlFindLeastSignificantBit(ULONGLONG): argument count differs: 2 != 3 dlls/ntdll/rtlbitmap.c:997: ntdll: ULONG WINAPI RtlFindSetRuns(PCRTL_BITMAP,PRTL_BITMAP_RUN,ULONG,BOOLEAN): no translation defined: PRTL_BITMAP_RUN dlls/ntdll/sec.c: #include <unistd.h>: is a conditional include, but is not protected dlls/ntdll/signal_i386.c: #include <unistd.h>: is a conditional include, but is not protected dlls/ntdll/signal_sparc.c: #include <unistd.h>: is a conditional include, but is not protected dlls/ntdll/time.c: #include <sys/time.h>: is a conditional include, but is not protected dlls/ntdll/time.c: #include <unistd.h>: is a conditional include, but is not protected dlls/ole32/storage.c: #include <unistd.h>: is a conditional include, but is not protected dlls/oleaut32/olepicture.c: #include <unistd.h>: is a conditional include, but is not protected dlls/richedit/reader.c: #include STRING_H: is unparsable dlls/rpcrt4/rpcrt4_main.c: #include <sys/time.h>: is a conditional include, but is not protected dlls/rpcrt4/rpcrt4_main.c: #include <unistd.h>: is a conditional include, but is not protected dlls/shell32/iconcache.c: #include <unistd.h>: is a conditional include, but is not protected dlls/shell32/shell.c: #include <unistd.h>: is a conditional include, but is not protected dlls/shell32/shelllink.c: #include <unistd.h>: is a conditional include, but is not protected dlls/shell32/shellord.c:978: shell32: DWORD WINAPI DAD_AutoScroll(HWND,LPSCROLLSAMPLES,LPPOINT): no translation defined: LPSCROLLSAMPLES dlls/shell32/shellord.c:996: shell32: BOOL WINAPI DAD_DragEnterEx(HWND,POINT): argument 2 type is forbidden: POINT (longlong) dlls/shell32/shellord.c:1014: shell32: BOOL WINAPI DAD_DragLeave(void): documentation: DAD_Leave (SHELL32.132) wrong dlls/shell32/shlexec.c: #include <unistd.h>: is a conditional include, but is not protected dlls/shell32/systray.c: #include <unistd.h>: is a conditional include, but is not protected dlls/shlwapi/ordinal.c:1833: shlwapi: BOOL WINAPI SHLWAPI_299(HDC,INT,INT,UINT,RECT *,LPCWSTR,UINT,INT *): argument 5 type is forbidden: RECT * (ptr) dlls/shlwapi/ordinal.c:1833: shlwapi: BOOL WINAPI SHLWAPI_299(HDC,INT,INT,UINT,RECT *,LPCWSTR,UINT,INT *): argument 8 type is forbidden: INT * (ptr) dlls/twain/ds_ctrl.c: #include <unistd.h>: is a conditional include, but is not protected dlls/urlmon/umon.c: not at toplevel at end of file dlls/user/exticon.c: #include <unistd.h>: is a conditional include, but is not protected dlls/user/network.c: #include <unistd.h>: is a conditional include, but is not protected dlls/version/resource.c: #include <unistd.h>: is a conditional include, but is not protected dlls/win32s/w32sys.c: #include <unistd.h>: is a conditional include, but is not protected dlls/winaspi/aspi.c: #include <unistd.h>: is a conditional include, but is not protected dlls/winaspi/winaspi16.c: #include <unistd.h>: is a conditional include, but is not protected dlls/winaspi/winaspi32.c: #include <unistd.h>: is a conditional include, but is not protected dlls/winedos/dosvm.c: #include <unistd.h>: is a conditional include, but is not protected dlls/winedos/dosvm.c: #include <sys/time.h>: is a conditional include, but is not protected dlls/winedos/int16.c: #include <unistd.h>: is a conditional include, but is not protected dlls/winedos/module.c: #include <unistd.h>: is a conditional include, but is not protected dlls/winedos/module.c: #include <sys/time.h>: is a conditional include, but is not protected dlls/winedos/xms.c: #include <unistd.h>: is a conditional include, but is not protected dlls/wineps/init.c: #include <unistd.h>: is a conditional include, but is not protected dlls/wininet/ftp.c: #include <unistd.h>: is a conditional include, but is not protected dlls/wininet/http.c: #include <unistd.h>: is a conditional include, but is not protected dlls/wininet/internet.c: #include <sys/time.h>: is a conditional include, but is not protected dlls/wininet/internet.c: #include <unistd.h>: is a conditional include, but is not protected dlls/winmm/joystick.c: #include <unistd.h>: is a conditional include, but is not protected dlls/winmm/joystick/joystick.c: #include <unistd.h>: is a conditional include, but is not protected dlls/winmm/time.c: #include <sys/time.h>: is a conditional include, but is not protected dlls/winmm/time.c: #include <unistd.h>: is a conditional include, but is not protected dlls/winmm/winealsa/audio.c: #include <unistd.h>: is a conditional include, but is not protected dlls/winmm/winealsa/audio_05.c: #include <unistd.h>: is a conditional include, but is not protected dlls/winmm/winearts/audio.c: #include <unistd.h>: is a conditional include, but is not protected dlls/winmm/wineaudioio/audio.c: #include <unistd.h>: is a conditional include, but is not protected dlls/winmm/wineaudioio/audioio.c: HAVE_LIBAUDIOIO_MIDI is not declared as a conditional dlls/winmm/winenas/audio.c: #include <unistd.h>: is a conditional include, but is not protected dlls/winmm/winenas/audio.c: #include <sys/time.h>: is a conditional include, but is not protected dlls/winmm/winenas/audio.c: #include <audio/soundlib.h>: is protected, but is not a conditional include dlls/winmm/wineoss/audio.c: #include <unistd.h>: is a conditional include, but is not protected dlls/winmm/wineoss/midi.c: #include <unistd.h>: is a conditional include, but is not protected dlls/winmm/wineoss/mixer.c: #include <unistd.h>: is a conditional include, but is not protected dlls/winmm/wineoss/mmaux.c: #include <unistd.h>: is a conditional include, but is not protected dlls/winsock/async.c: #include <unistd.h>: is a conditional include, but is not protected dlls/winsock/socket.c: #include <unistd.h>: is a conditional include, but is not protected dlls/wsock32/socket.c: #include <unistd.h>: is a conditional include, but is not protected dlls/x11drv/clipboard.c: #include <unistd.h>: is a conditional include, but is not protected dlls/x11drv/x11drv_main.c: #include <sys/time.h>: is a conditional include, but is not protected dlls/x11drv/x11drv_main.c: #include <unistd.h>: is a conditional include, but is not protected files/change.c: #include <unistd.h>: is a conditional include, but is not protected files/directory.c: #include <unistd.h>: is a conditional include, but is not protected files/dos_fs.c: #include <unistd.h>: is a conditional include, but is not protected files/drive.c: #include <unistd.h>: is a conditional include, but is not protected files/file.c: #include <sys/time.h>: is a conditional include, but is not protected files/file.c: #include <unistd.h>: is a conditional include, but is not protected files/profile.c: #include <unistd.h>: is a conditional include, but is not protected files/smb.c: #include <sys/time.h>: is a conditional include, but is not protected files/smb.c: #include <unistd.h>: is a conditional include, but is not protected graphics/x11drv/xfont.c: #include <unistd.h>: is a conditional include, but is not protected loader/main.c: #include <unistd.h>: is a conditional include, but is not protected loader/module.c: #include <unistd.h>: is a conditional include, but is not protected loader/ne/module.c: #include <unistd.h>: is a conditional include, but is not protected loader/ne/resource.c: #include <unistd.h>: is a conditional include, but is not protected loader/ne/segment.c: #include <unistd.h>: is a conditional include, but is not protected loader/resource.c: #include <unistd.h>: is a conditional include, but is not protected loader/task.c: #include <unistd.h>: is a conditional include, but is not protected memory/global.c: #include <unistd.h>: is a conditional include, but is not protected memory/registry.c: #include <unistd.h>: is a conditional include, but is not protected memory/virtual.c: #include <unistd.h>: is a conditional include, but is not protected misc/main.c: #include <sys/time.h>: is a conditional include, but is not protected misc/main.c: #include <unistd.h>: is a conditional include, but is not protected misc/registry.c: #include <unistd.h>: is a conditional include, but is not protected msdos/dosconf.c: #include <unistd.h>: is a conditional include, but is not protected msdos/dpmi.c: #include <unistd.h>: is a conditional include, but is not protected msdos/int13.c: #include <unistd.h>: is a conditional include, but is not protected msdos/int1a.c: #include <sys/time.h>: is a conditional include, but is not protected msdos/int21.c: #include <sys/time.h>: is a conditional include, but is not protected msdos/int21.c: #include <unistd.h>: is a conditional include, but is not protected msdos/int25.c: #include <unistd.h>: is a conditional include, but is not protected msdos/int26.c: #include <unistd.h>: is a conditional include, but is not protected msdos/ioports.c: #include <unistd.h>: is a conditional include, but is not protected msdos/vxd.c: #include <unistd.h>: is a conditional include, but is not protected scheduler/client.c: #include <unistd.h>: is a conditional include, but is not protected scheduler/handle.c: #include <unistd.h>: is a conditional include, but is not protected scheduler/process.c: #include <unistd.h>: is a conditional include, but is not protected scheduler/pthread.c: #include <unistd.h>: is a conditional include, but is not protected scheduler/synchro.c: #include <sys/time.h>: is a conditional include, but is not protected scheduler/synchro.c: #include <unistd.h>: is a conditional include, but is not protected scheduler/sysdeps.c: #include <unistd.h>: is a conditional include, but is not protected scheduler/sysdeps.c: #include <sys/time.h>: is a conditional include, but is not protected scheduler/syslevel.c: #include <unistd.h>: is a conditional include, but is not protected scheduler/thread.c: #include <unistd.h>: is a conditional include, but is not protected win32/device.c: #include <unistd.h>: is a conditional include, but is not protected win32/device.c:534: kernel32: void VxDCall(DWORD,CONTEXT86 *): calling convention mismatch: cdecl != stdcall win32/init.c: #include <unistd.h>: is a conditional include, but is not protected win32/kernel32.c: #include <unistd.h>: is a conditional include, but is not protected win32/newfns.c: #include <sys/time.h>: is a conditional include, but is not protected win32/newfns.c: #include <unistd.h>: is a conditional include, but is not protected win32/time.c: #include <sys/time.h>: is a conditional include, but is not protected win32/time.c: #include <unistd.h>: is a conditional include, but is not protected windows/clipboard.c: #include <unistd.h>: is a conditional include, but is not protected windows/message.c: #include <sys/time.h>: is a conditional include, but is not protected windows/winhelp.c: #include <unistd.h>: is a conditional include, but is not protected *.c: msvcrt: MSVCRT_atexit: function declared but not implemented or declared external *.c: ntdll: __wine_call_from_32_regs: function declared but not implemented or declared external *.c: urlmon: CoInternetGetSession: function declared but not implemented or declared external *.c: urlmon: CreateAsyncBindCtxEx: function declared but not implemented or declared external *.c: urlmon: CreateURLMoniker: function declared but not implemented or declared external *.c: urlmon: Extract: function declared but not implemented or declared external *.c: urlmon: RegisterBindStatusCallback: function declared but not implemented or declared external *.c: urlmon: RevokeBindStatusCallback: function declared but not implemented or declared external *.c: user.exe: lstrcmpiA: function declared but not implemented or declared external *.c: toolhelp: type (CLASSENTRY *) not used *.c: urlmon: type (IBindCtx *) not used *.c: urlmon: type (IBindCtx **) not used *.c: urlmon: type (IBindStatusCallback *) not used *.c: urlmon: type (IBindStatusCallback **) not used *.c: urlmon: type (IEnumFORMATETC *) not used *.c: urlmon: type (IMoniker *) not used *.c: urlmon: type (IMoniker **) not used *.c: urlmon: type (LPVOID) not used *.c: winmm: type (LPMMIOPROC16) not used
Attachment:
winapi_checked.diff
Description: Binary data