Registry patch

Alexandre Julliard julliard at
Tue Feb 13 13:24:47 CST 2001

davep <davep at> writes:

> 123 calls RegQueryValueEx for the binary values with lpData set to NULL and
> lpcbData non-NULL. RegQueryValueEx is supposed to return the size of the buffer
> needed to hold the data, but Wine is returning the size of its initial buffer
> (0xeb IIRC, sizeof(buffer)-sizeof(KEY_VALUE_PARTIAL_INFORMATION)). This causes
> a crash when 123 immediately calls the same function again with a real buffer
> address, presumably because 123 didn't allocate enough storage space.

Could you please send me a +reg,+server trace of the offending calls?

Alexandre Julliard
julliard at

More information about the wine-devel mailing list