This probably doesn’t belong in the WinDBG discussion list (since it
isn’t about debugging.)
If you want to lock a process into memory, you could always use
VirtualLock() (see
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/memory/
base/virtuallock.asp for a description of this function.) I’ve never
used it personally, but then again, I seldom write user mode code (and
when I do I’m normally writing against the native API.)
Again, there are likely to be a number of ways of achieving this and it
seems as if people are merely throwing out suggestions on how to do it -
but the hard part (figuring out what works for your situation) is likely
to be up to you.
Regards,
Tony
Tony Mason
Consulting Partner
OSR Open Systems Resources, Inc.
http://www.osr.com
Looking forward to seeing you at the next OSR File Systems class in
Boston, MA April 18-21, 2006.
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Satya Das
Sent: Monday, April 10, 2006 9:17 PM
To: Kernel Debugging Interest List
Subject: RE: [windbg] DDK Call for rebooting ?
Umm… There is no linker flag that I can find that will lock the file
in RAM with no paging out.
Additionally jrichter mentions (at the URL below) that the loader checks
if the file is indeed on the network before doing its special magic for
/swaprun:net option
http://www.microsoft.com/msj/0398/win320398.aspx
It does not seem like this is an alternative solution for OP’s issue.
You are currently subscribed to windbg as: unknown lmsubst tag argument:
‘’
To unsubscribe send a blank email to xxxxx@lists.osr.com