CopyMaskToVRAM is used by the cursor code to copy a 1-bit-per-pel mask into VRAM and uses the following parameters:
pVOID pSystemMemory - Pointer to the system-memory bit map to copy.
ULONG pVRAMAddress - Pointer to the destination in VRAM.
ULONG width - Width in pels.
ULONG height - Height in scanlines.
ULONG format - Flags indicating the pixel depth of pSystemMemory. The pel depth can be 1 bit-per-pel.