Peter Ganten <[EMAIL PROTECTED]> writes:

> Looking at linux/mm/mmap.c shows, that MAP_FIXED does both, it maps
> to the requested address and clears existing mappings, if any. Can we
> use VirtualQuery() to check, if the address is free? 

No, VirtualQuery only knows about Wine mappings, but there can be
others (like shared libraries); and in any case there would be a race
condition between the check and the mmap.

-- 
Alexandre Julliard
[EMAIL PROTECTED]

Reply via email to