pdh: add tests for XP variant of api call

Hans Leidekker hans at it.vu.nl
Tue Sep 25 07:56:06 CDT 2007


On Tuesday 25 September 2007 14:19:34 Jeff Latimer wrote:

> I am happy with that though the tests I added relate to the following
> paragraph where it says that XP requires the buffer parameter as well as
> the size at all times and testing shows that it returns
> PDH_INVALID_ARGUMENT.  It also returns PDH_INSUFFICIENT_BUFFER instead
> of PDH_MORE_DATA.

Then I suggest to remove tests with a NULL buffer parameter and
accept both PDH_INSUFFICIENT_BUFFER and PDH_MORE_DATA in tests where
the specified buffer size is too small.

 -Hans



More information about the wine-devel mailing list