Changeset 4583 for trunk/src/kernel32/virtual.cpp
- Timestamp:
- Nov 10, 2000, 11:14:25 AM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kernel32/virtual.cpp
r4534 r4583 1 /* $Id: virtual.cpp,v 1.3 5 2000-10-26 17:21:39sandervl Exp $ */1 /* $Id: virtual.cpp,v 1.36 2000-11-10 10:14:25 sandervl Exp $ */ 2 2 3 3 /* … … 615 615 dprintf(("VirtualQuery - OSLibDosQueryMem %x %x returned %d\n", 616 616 lpBase, cbLength, rc)); 617 SetLastError(ERROR_INVALID_PARAMETER);617 SetLastError(ERROR_INVALID_PARAMETER); 618 618 return 0; 619 619 } … … 651 651 if(!(dAttr & PAG_SHARED)) 652 652 pmbiBuffer->Type = MEM_PRIVATE; 653 654 // Pages can be committed but not necessarily accessible!! 655 if (!(dAttr & (PAG_READ | PAG_WRITE | PAG_EXECUTE | PAG_GUARD))) 656 pmbiBuffer->Protect = PAGE_NOACCESS; 653 657 654 658 //TODO: This is not correct: AllocationProtect should contain the protection
Note:
See TracChangeset
for help on using the changeset viewer.