http://bugs.winehq.org/show_bug.cgi?id=9432
--- Comment #4 from Yolande Haneder yolande@haneder.biz 2007-08-28 13:13:19 --- I read that the allocation type flag of MEM_WRITE_WATCH was 0x200000 (Track writes to memory) and that if it is not supported, then ZwAllocateVirtualMemory fails with status STATUS_NOT_SUPPORTED (seems quite a difference to what it is written at the time).
There are quite a few cases of NtallocateVirtualMemory through other dlls than CsVisual. Do you have an idea which ones would be affected by the virtual memory if one had to adapt the references to MEM_WRITE_WATCH?
Quote: The flag MEM_WRITE_WATCH is only valid in Windows 2000 (reference about NT/200). If the system does not support write watching and this flag is specified, ZwAllocateVirtualMemory fails with status STATUS_NOT_SUPPORTED.