LOCK BACKBUFFER This command locks the backbuffer and stores the backbuffer details for direct access.
Syntax
    LOCK BACKBUFFER
Returns
This command does not return a value.
Description
The backbuffer is the actual screen you see each refresh and this command allows you to pass the pointer and other essential data to a DLL for screen modification. Locking the backbuffer prevents other activities to be performed to the backbuffer, so it is essential you unlock the backbuffer when you have finished.
Example Code
    cls

    set display mode 800,600,32

    set window on

    wait 1000*8

    lock backbuffer

    wait 1000*8

    unlock backbuffer

    do

    loop

    end
See also
DISPLAY Commands Menu Index