![[Toc]](../../toc.gif)
![[Index]](/idx.gif)
VHMapVRAM - Syntax
Description:
VHMapVRAM converts the physical address of VRAM to linear virtual aperture
for both process and global ring 0 context.
#include <GRADD.h>
ULONG ulPhysAddr; /* Physical address of the start of the VRAM aperture. */
ULONG ulLength; /* Length of VRAM aperture. */
PBYTE *pVRAM; /* Returned process virtual linear aperture pointer. */
PBYTE *pVRAMRing0; /* Returned ring 0 virtual linear aperture pointer. */
ULONG rc; /* Return value. */
rc = VHMapVRAM(ulPhysAddr, ulLength, pVRAM,
pVRAMRing0);
Created using Inf-PHP v.2 (c) 2003 Yuri Prokushev
Created using Inf-HTML v.0.9b (c) 1995 Peter Childs