## Display Device Driver Reference for OS/2

[prev][next][parent][TOC]

### CopyMemoryToVRAM

CopyMemoryToVRAM takes 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 pel depth of pSystemMemory, can be 1, 8,
                   16, or 24 bits-per-pel

This function copies a bit map from system memory to VRAM. It is used by EDDMCURS.C and EDDMCCRS.C to copy the cursor image to off-screen VRAM. It is also used by EDDNCACH.C, to copy bit maps into the cache.