There is no point to specify both MEM_RESERVE and MEM_COMMIT
wine-devel at kievinfo.com
Mon Jan 2 09:40:13 CST 2006
Monday, January 2, 2006, 1:23:22 AM, Dmitry Timoshkov wrote:
> Dmitry Timoshkov <dmitry at codeweavers.com>
> There is no point to specify both MEM_RESERVE and MEM_COMMIT for
According to MSDN:
"To reserve and commit pages in one step, call VirtualAlloc with
MEM_COMMIT | MEM_RESERVED.
The function fails if you attempt to commit a page that has not been
reserved. The resulting error code is ERROR_INVALID_ADDRESS."
Why do you want to do something that _should_ fail?
More information about the wine-devel