Wrong call convention for SHAllocShared & co?

Francois Gouget fgouget at free.fr
Sat Aug 21 18:25:45 CDT 2004

On Sun, 22 Aug 2004, Ivan Leo Puoti wrote:

> > So who's right? The platform SDK that says this is a cdecl function or
> > Wine's headers?
> If the SDK is wrong and is diffrent from the windows implementation, then
> programs calling that function will have
> problems bacause of imcompatible headers between the ones used to build windows
> and the SDK ones used to build the program, no?

Yes and that would seem to indicate that the Platform SDK is correct.

However if Wine's implementation is wrong then Windows applications that
call this API should crash and we should have noticed, no? So that seems
to indicate that Wine's implementation must be correct.

Hence my confusion and my call for help.

Francois Gouget         fgouget at free.fr        http://fgouget.free.fr/
                         Stolen from an Internet user:
              "f u cn rd ths, u cn gt a gd jb n cmptr prgrmmng !"

More information about the wine-devel mailing list