Is the future MmProbeAndLockPages() guarranted to succeed if the memory has been locked before?

In my program, we want to MmProbeAndLockPages() a certain amount of memory
in powerup, but in the runtime, we may only need a part of pre-locked memory
to do DMA operation. I am wondering whether the future MmProbeAndLockPages()
can be ensured to work if the memory has already been locked. I think it
does, but I just want to make sure.

Thanks,

zhongsheng

yep

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of
xxxxx@exgate.tek.com
Sent: Friday, October 01, 2004 3:45 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] Is the future MmProbeAndLockPages()
guarranted to succeed if the memory has been locked before?

In my program, we want to MmProbeAndLockPages() a certain
amount of memory in powerup, but in the runtime, we may only
need a part of pre-locked memory to do DMA operation. I am
wondering whether the future MmProbeAndLockPages() can be
ensured to work if the memory has already been locked. I
think it does, but I just want to make sure.

Thanks,

zhongsheng


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

You are currently subscribed to ntdev as:
xxxxx@windows.microsoft.com To unsubscribe send a blank
email to xxxxx@lists.osr.com