QUERYDISPLAYMODE

include vmd.inc
 
mov     eax, QUERYDISPLAYMODE
Call    CursorProc
 

Retrieves the current video mode.

See also SETDISPLAYMODE