On Thu, Dec 14, 2000 at 01:05:02AM +0100, Marcus Meissner wrote:
> Hi,
> 
> Siedler 3 is not happy about getting back '0' as return value from
> VirtualQuery, even for the 0xffff0000 address. So make sure, we always
> return the correct size.

Hhhmmmmmmmm.

Are you sure about that ?

Well, probably yes.

This is a direct conflict with bug #114, that's for sure.

So something is going on.

The #114 program tests for VirtualQuery() returning FALSE to stop
its memory range iterations.

And if you change it back to return sizeof(*info);, this program won't work
any more.

And Windows 98SE does return 0 for every address >= 0xc0000000.

Andreas Mohr

Reply via email to