3.10 3.50 WINDOWS NT kbprg The information in this article applies to:
SUMMARYIn Windows NT, each process has its own private address space. The process can use up to 2 gigabytes of virtual memory. This 2Gb is not necessarily contiguous. The system uses the other 2Gb. 0x00000000 to 0x0000FFFF (first 64K of virtual space) 0x7FFF0000 to 0x7FFFFFFF (last 64K of user virtual space) These are effectively PAGE_NOACCESS ranges. MORE INFORMATIONThis range is not guaranteed to serve this purpose in the future. There could be good reasons in a future implementation to use these addresses. Code that is going to depend on this non-address range should verify its validity at run time with something like BOOL IsFirst64kInvalid(void) { BOOL bFirst64kInvalid = FALSE; try { *(char *)0x0000FFFF; } except (EXCEPTION_EXECUTE_HANDLER) { if (EXCEPTION_ACCESS_VIOLATION == GetExceptionCode()) bFirst64kInvalid = TRUE; } return bFirst64kInvalid; } Additional query words: 3.10 3.50 Keywords : Version : winnt:3.1,3.5 Platform : winnt Issue type : |
Last Reviewed: October 14, 1999 |