SETDISPLAYMODE

include vmd.inc
 
mov     eax, SETDISPLAYMODE
mov     cl, VideoMode
Call    CursorProc
 

Reports whether the specified video mode is supported and, if so, prepares to display the cursor in the new mode. VMOUSE calls this function whenever the video mode changes.

VideoMode
Number of the new video mode.

See also QUERYDISPLAYMODE