"Ann and Jason Edmeades" us@the-edmeades.demon.co.uk writes:
Here's some tests which show the problem reported as bug 2686. I tried to find a way to fix it but its not simple. (Note I can only confirm that XP behaves as described).
On XP yes, but it will fail on Win9x, the API doesn't guarantee that the returned size will be identical to the allocated size. Unless you have a real app that depends on that I don't think there's much point in doing that test.