"Michael Karcher" wine@mkarcher.dialup.fu-berlin.de wrote:
This is not an equivalent of the old implementation, is it really supposed to fail if the buffer length is shorter than the guid?
http://msdn.microsoft.com/en-us/library/ms683893(VS.85).aspx says so. I will test Microsoft's native implementation when I get around to.
That's the description of 32-bit implementation, 16-bit one may differ.
PS: is it possible to test 16 bit API function in the wine test suite? I suppose not, as it should be compilable in a 32 bit Windows environment, so we don't even have LoadLibrary16.
Of course Wine has LoadLibrary16, and a working 16-bit implementation. Although there is no built-in support for 16-bit tests, there is a way to build them: http://www.winehq.org/pipermail/wine-devel/2008-February/062566.html