![[Toc]](../../toc.gif)
![[Index]](/idx.gif)
VHLockMem - Syntax
Description:
VHLockMem makes code or data segments available for ring 0 interrupt-time
processing. At interrupt time, code and data segments must be
non-swappable and accessible from the ring 0 context.
#include <GRADD.h>
PVOID pAddress; /* Address within the first page of code or data. */
ULONG ulLength; /* Size of code or data segment. */
BOOL fData; /* FALSE indicates code segment; TRUE indicates data segment. */
ULONG rc; /* Return value. */
rc = VHLockMem(pAddress, ulLength, fData);
Created using Inf-PHP v.2 (c) 2003 Yuri Prokushev
Created using Inf-HTML v.0.9b (c) 1995 Peter Childs