Memory Contexts

The system uses memory contexts to create a private linear address space for each Win32 application. The current memory context determines the mapping of pages in the private arena, the linear address range from MINPRIVATELADDR through MAXPRIVATELADDR.

Most memory context services are for the exclusive use of the system. Virtual devices should only use the _GetCurrentContext service.

To access data in the private arena from a different memory context or at interrupt time, map the data to globally addressable pages by using the _LinPageLock service with the PAGEMAPGLOBAL flag. Do not change the current context for this purpose.

See Also

_GetCurrentContext, _LinPageLock