|
|
|
|
PM_lockCodePages
Lock code pages so they won't be paged to disk
Declaration
int PMAPI PM_lockCodePages(
__codePtr p,
uint len,
PM_lockHandle *lh)
Prototype In
pmapi.h
Parameters
p |
Linear pointer to the memory to lock down |
len |
Length of the memory block to lock down |
lh |
Pointer to the lock handle returned |
Description
This function is used to lock a block of memory such that it will not be paged to disk by the operating systems virtual memory manager. This is mostly used such that interrupt handlers in device drivers and the data used by the interrupt handlers will never be paged out to disk.
This version is used to lock code pages in memory.
See Also
Copyright © 2002 SciTech Software, Inc. Visit our web site at http://www.scitechsoft.com