[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference decwet::nt-developers

Title:MS Windows NT Developers
Notice:See note 1222 for MS bug reporting info
Moderator:TARKIN::LINEIBER
Created:Mon Nov 11 1991
Last Modified:Tue Jun 03 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:3247
Total number of notes:15633

3153.0. "Locking down memory in WNT V4.0?" by EPS::DEANE () Fri Dec 20 1996 15:20

T.RTitleUserPersonal
Name
DateLines
3153.1VirtualLockDECWET::MVBMonty VanderBiltMon Jan 27 1997 10:517
Use VirtualLock to lock an arbitrary set of pages into your working set.
It is documented in MSDN. The working set must be somewhat larger than the
number of pages you are locking so that it stays fluid. You can increase
the size of your working set by calling SetProcessWorkingSetSize.

I'm not sure how you would get the address of the stack, code and data.