CrossCallsWtoA - updated

Kai Blin kai.blin at gmail.com
Mon Oct 20 01:01:46 CDT 2008


On Monday 20 October 2008 06:39:10 Austin English wrote:
> Howdy,
>
> I ran the winapi_check tool today, seems the wiki hadn't been updated
> in a while 2 years. For those curious, here are the results (I removed
> the nonbugs as mentioned on the wiki).
>
> dlls/ws2_32/socket.c: ws2_32: WSAStringToAddressW: illegal call to
> WSAStringToAddressA (Unicode -> ASCII)

Looking at this one.

> dlls/rsaenh/implglue.c:41: <>: VOID WINAPI MD5Init(MD5_CTX *):
> duplicate declaration (first declaration at dlls/msi/msi.c:2919)
> dlls/rsaenh/implglue.c:42: <>: VOID WINAPI MD5Update(MD5_CTX
> *,unsigned char *,unsigned int): duplicate declaration (first
> declaration at dlls/msi/msi.c:2920)
> dlls/rsaenh/implglue.c:43: <>: VOID WINAPI MD5Final(MD5_CTX *):
> duplicate declaration (first declaration at dlls/msi/msi.c:2921)
> dlls/secur32/util.c:104: <>: VOID WINAPI MD4Init(MD4_CTX *): duplicate
> declaration (first declaration at dlls/rsaenh/implglue.c:37)
> dlls/secur32/util.c:105: <>: VOID WINAPI MD4Update(MD4_CTX *,unsigned
> char *,unsigned int): duplicate declaration (first declaration at
> dlls/rsaenh/implglue.c:38)
> dlls/secur32/util.c:106: <>: VOID WINAPI MD4Final(MD4_CTX *):
> duplicate declaration (first declaration at dlls/rsaenh/implglue.c:39)
> dlls/secur32/util.c:107: <>: VOID WINAPI MD5Init(MD5_CTX *): duplicate
> declaration (first declaration at dlls/msi/msi.c:2919)
> dlls/secur32/util.c:108: <>: VOID WINAPI MD5Update(MD5_CTX *,unsigned
> char *,unsigned int): duplicate declaration (first declaration at
> dlls/msi/msi.c:2920)
> dlls/secur32/util.c:109: <>: VOID WINAPI MD5Final(MD5_CTX *):
> duplicate declaration (first declaration at dlls/msi/msi.c:2921)
> dlls/winex11.drv/graphics.c:1512: <>: void WINAPI A_SHAInit(sha_ctx
> *): duplicate declaration (first declaration at
> dlls/rsaenh/implglue.c:45)
> dlls/winex11.drv/graphics.c:1513: <>: void WINAPI A_SHAUpdate(sha_ctx
> *,unsigned char *,unsigned int): duplicate declaration (first
> declaration at dlls/rsaenh/implglue.c:46)
> dlls/winex11.drv/graphics.c:1514: <>: void WINAPI A_SHAFinal(sha_ctx
> *,unsigned char *): duplicate declaration (first declaration at
> dlls/rsaenh/implglue.c:47)

There's no header file for this, so all the code that uses these functions has 
to declare this.

Cheers,
Kai

-- 
Kai Blin
WorldForge developer  http://www.worldforge.org/
Wine developer        http://wiki.winehq.org/KaiBlin
Samba team member     http://www.samba.org/samba/team/
--
Will code for cotton.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://www.winehq.org/pipermail/wine-devel/attachments/20081020/44bcdb35/attachment.pgp 


More information about the wine-devel mailing list