Api函数中常量值的问题?问题已经解决!!!谢谢
LPVOID VirtualAllocEx(
HANDLE hProcess, // process within which to allocate memory
LPVOID lpAddress, // desired starting address of allocation
DWORD dwSize, // size, in bytes, of region to allocate
DWORD flAllocationType,
// type of allocation
DWORD flProtect // type of access protection
);
其中,
flProtect 的值如下
PAGE_READONLY ,PAGE_READWRITE ,PAGE_EXECUTE_READ,PAGE_EXECUTE_READWRITE ,PAGE_GUARD ,PAGE_NOACCESS
它们具体对应的数值,如何确定?
[此贴子已经被作者于2007-11-9 15:45:11编辑过]