Question about testing SHQueryValueExA in shlwapi/tests/shreg.c

Mike Hearn mh at
Mon Jan 17 16:33:52 CST 2005

On Mon, 17 Jan 2005 23:05:59 +0100, Paul Vriens wrote:
> Wine and Win98 leave the buffer intact (the contents and thus size
> differ however)
> WinXPProf and W2KProf clear (so it seems) the buffer.

That's why it's tested - MSDN is useful but not what we care about. You
can guarantee if NT clears the buffer, somebody somewhere will have
written an app which relies on it (or vice-versa). 

More information about the wine-devel mailing list