Wine Fun Projects v0.2 & winapi_check

David Fraser davidf at sjsoft.com
Fri Nov 15 07:55:09 CST 2002


Dimitrie O. Paun wrote:

>Folks,
>
>The second release (much expanded) of the Fun Project
>page has been released, in all it's glory, at:
>
>http://www.dssd.ca/wine/Wine-Fun-0.2.html
>
>The working version of the above is at:
>
>http://www.dssd.ca/wine/Wine-Fun.html
>
>By now, you should know that comments, suggestions,
>and flames are not only appreciated, but expected.
>
>  
>
This is cool, thanks.
Just noticed Patrick Stridvall's email address needs a mailto:
Also tried running the api check for win32-win16 functions and seeing as
it takes a while to run and I had no idea what to do with the output, 
thought I'd
post it here...
As far as I can see you can get the following types of messages from it:
 #include problems
 declaration problems (duplicate declaration / argument problems / 
declared but not implemented / calling convention mismatch)
 type problems (no translation defined, unused types)
 illegal calls to 16 bit functions
what I don't understand is all that output from the graphics/x11drv/stuff

Just for info
David

[root at scir wine-cvs-linux]# ./tools/winapi_check/winapi_check 
--cross-call-win32-win16
dlls/gdi/freetype.c: #include <freetype/fttrigon.h>: is protected, but 
is not a conditional include
dlls/kernel/computername.c: #include <netdb.h>: is a conditional 
include, but is not protected
dlls/msvcrt/tests/scanf.c: #include "stdio.h": file not found
dlls/msvcrt/tests/scanf.c: #include "stdio.h" is not a local include
dlls/msvcrt20/msvcrt20.c:23: <>: void __getmainargs(int *,char **,char 
**,int,int *): duplicate declaration (first declaration at 
dlls/crtdll/crtdll_main.c:31)
dlls/ntdll/signal_i386.c:1205: ntdll: void __wine_enter_vm86(CONTEXT *): 
argument count differs: 0 != 1
dlls/ntdll/signal_i386.c:1282: ntdll: void __wine_enter_vm86(CONTEXT *): 
argument count differs: 0 != 1
dlls/ntdll/signal_powerpc.c:510: ntdll: void __wine_enter_vm86(CONTEXT 
*): argument count differs: 0 != 1
dlls/ntdll/signal_sparc.c:460: ntdll: void __wine_enter_vm86(CONTEXT *): 
argument count differs: 0 != 1
dlls/ntdll/virtual.c:788: <>: BOOL 
VIRTUAL_SetFaultHandler(LPCVOID,HANDLERPROC,LPVOID): no translation 
defined: HANDLERPROC
dlls/ole32/storage.c: ole32: StgIsStorageFile: illegal call to 
StgIsStorageFile16 (Win32 -> Win16)
dlls/richedit/reader.c: #include STRING_H: is unparsable
dlls/rpcrt4/ndr_stubless.c:86: rpcrt4: LONG_PTR WINAPIV 
NdrClientCall2(PMIDL_STUB_DESC,PFORMAT_STRING,...): argument 1 
documentation: \
/* CLIENT_CALL_RETURN */
dlls/rpcrt4/rpc_epmap.c:53: rpcrt4: RPC_STATUS WINAPI 
RpcEpRegisterA(RPC_IF_HANDLE,PRPC_BINDING_VECTOR,PUUID_VECTOR,LPSTR): no 
translation defined: PRPC_BINDING_VECTOR
dlls/rpcrt4/rpc_epmap.c:53: rpcrt4: RPC_STATUS WINAPI 
RpcEpRegisterA(RPC_IF_HANDLE,PRPC_BINDING_VECTOR,PUUID_VECTOR,LPSTR): no 
translation defined: PUUID_VECTOR
dlls/urlmon/umon.c:863: urlmon: HRESULT WINAPI 
CoInternetGetSession(DWORD,void **,DWORD): argument 1 documentation: \
/*IInternetSession*/
dlls/wineps/driver.c: wineps: PSDRV_DeviceCapabilities: illegal call to 
PSDRV_DeviceCapabilities16 (Win32 -> Win16)
dlls/wineps/driver.c: wineps: PSDRV_ExtDeviceMode: illegal call to 
PSDRV_ExtDeviceMode16 (Win32 -> Win16)
dlls/wininet/http.c:262: wininet: HINTERNET WINAPI 
HttpOpenRequestW(HINTERNET,LPCWSTR,LPCWSTR,LPCWSTR,LPCWSTR,LPCWSTR 
*,DWORD,DWORD): argument 6 type is forbidden: LPCWSTR * (ptr)
dlls/winmm/wineaudioio/audioio.c: HAVE_LIBAUDIOIO_MIDI is not declared 
as a conditional
dlls/winmm/winenas/audio.c: #include <audio/soundlib.h>: is protected, 
but is not a conditional include
dlls/winsock/socket.c:4214: ws2_32: int WINAPI 
WSAInstallServiceClassA(LPWSASERVICECLASSINFOA): no translation defined: 
LPWSASERVICECLASSINFOA
dlls/winsock/socket.c:4223: ws2_32: int WINAPI 
WSAInstallServiceClassW(LPWSASERVICECLASSINFOW): no translation defined: 
LPWSASERVICECLASSINFOW
graphics/x11drv/opengl.c:434: x11drv: int 
X11DRV_ChoosePixelFormat(X11DRV_PDEVICE *,PIXELFORMATDESCRIPTOR *): 
argument 1 documentation: \
/* In order to support OpenGL or D3D, we require a double-buffered visual */
graphics/x11drv/opengl.c:434: x11drv: int 
X11DRV_ChoosePixelFormat(X11DRV_PDEVICE *,PIXELFORMATDESCRIPTOR *): 
argument 2 documentation: \
/* no OpenGL includes */
graphics/x11drv/opengl.c:441: x11drv: int 
X11DRV_DescribePixelFormat(X11DRV_PDEVICE 
*,int,UINT,PIXELFORMATDESCRIPTOR *): argument 1 documentation: \
/* In order to support OpenGL or D3D, we require a double-buffered visual */
graphics/x11drv/opengl.c:441: x11drv: int 
X11DRV_DescribePixelFormat(X11DRV_PDEVICE 
*,int,UINT,PIXELFORMATDESCRIPTOR *): argument 2 documentation: \
/* no OpenGL includes */
graphics/x11drv/opengl.c:450: x11drv: int 
X11DRV_GetPixelFormat(X11DRV_PDEVICE *): argument 1 documentation: \
/* In order to support OpenGL or D3D, we require a double-buffered visual */
graphics/x11drv/opengl.c:450: x11drv: int 
X11DRV_GetPixelFormat(X11DRV_PDEVICE *): argument 2 documentation: \
/* no OpenGL includes */
graphics/x11drv/opengl.c:456: x11drv: BOOL 
X11DRV_SetPixelFormat(X11DRV_PDEVICE *,int,PIXELFORMATDESCRIPTOR *): 
argument 1 documentation: \
/* In order to support OpenGL or D3D, we require a double-buffered visual */
graphics/x11drv/opengl.c:456: x11drv: BOOL 
X11DRV_SetPixelFormat(X11DRV_PDEVICE *,int,PIXELFORMATDESCRIPTOR *): 
argument 2 documentation: \
/* no OpenGL includes */
graphics/x11drv/opengl.c:464: x11drv: BOOL 
X11DRV_SwapBuffers(X11DRV_PDEVICE *): argument 1 documentation: \
/* In order to support OpenGL or D3D, we require a double-buffered visual */
graphics/x11drv/opengl.c:464: x11drv: BOOL 
X11DRV_SwapBuffers(X11DRV_PDEVICE *): argument 2 documentation: \
/* no OpenGL includes */
loader/module.c: kernel32: WIN32_GetProcAddress16: illegal call to 
GetProcAddress16 (Win32 -> Win16)
loader/ne/module.c: krnl386.exe & kernel32: FreeLibrary16: illegal call 
to FreeModule16 (Win32 -> Win16)
loader/ne/resource.c: krnl386.exe & kernel32: NE_DefResourceHandler: 
illegal call to AllocResource16 (Win32 -> Win16)
loader/task.c: krnl386.exe & kernel32: SetThreadQueue16: illegal call to 
SetTaskQueue16 (Win32 -> Win16)
memory/global.c:978: toolhelp & kernel32: BOOL16 WINAPI 
MemManInfo16(MEMMANINFO *): no translation defined: MEMMANINFO *
memory/global.c: krnl386.exe & kernel32: GlobalFix16: illegal call to 
GlobalHandleToSel16 (Win32 -> Win16)
memory/global.c: krnl386.exe & kernel32: GlobalReAlloc16: illegal call 
to GlobalHandleToSel16 (Win32 -> Win16)
memory/global.c: krnl386.exe & kernel32: GlobalWire16: illegal call to 
WIN16_GlobalLock16 (Win32 -> Win16)
memory/global.c: kernel32: K32WOWGlobalLock16: illegal call to 
WIN16_GlobalLock16 (Win32 -> Win16)
memory/selector.c: krnl386.exe & kernel32: IsBadReadPtr16: illegal call 
to IsBadHugeReadPtr16 (Win32 -> Win16)
win32/device.c:544: kernel32: void VxDCall(DWORD,CONTEXT86 *): calling 
convention mismatch: cdecl != stdcall
windows/cursoricon.c: user32: LookupIconIdFromDirectoryEx: illegal call 
to LookupIconIdFromDirectoryEx16 (Win32 -> Win16)
windows/winproc.c: user.exe & user32: CallWindowProc16: illegal call to 
__wine_call_wndproc_32A (Win32 -> Win16)
windows/winproc.c: user.exe & user32: CallWindowProc16: illegal call to 
__wine_call_wndproc_32W (Win32 -> Win16)
*.c: kernel32: VIRTUAL_SetFaultHandler: function declared but not 
implemented or declared external
*.c: msvcrt: MSVCRT_atexit: function declared but not implemented or 
declared external
*.c: msvcrt: MSVCRT_fscanf: function declared but not implemented or 
declared external
*.c: msvcrt: MSVCRT_fwscanf: function declared but not implemented or 
declared external
*.c: msvcrt: MSVCRT_sscanf: function declared but not implemented or 
declared external
*.c: msvcrt: MSVCRT_swscanf: function declared but not implemented or 
declared external
*.c: msvcrt: _cscanf: function declared but not implemented or declared 
external
*.c: ntdll: __wine_call_from_32_regs: function declared but not 
implemented or declared external
*.c: user.exe: lstrcmpiA: function declared but not implemented or 
declared external
*.c: gdi.exe: type (FONTENUMPROCEX16) not used
*.c: toolhelp: type (CLASSENTRY *) not used
*.c: gdi32: type (FONTENUMPROCEXA) not used
*.c: gdi32: type (FONTENUMPROCEXW) not used
*.c: rasapi32: type (LPSTR) not used
*.c: winmm: type (LPMMIOPROC16) not used





More information about the wine-devel mailing list