The LazyBoy Library Manual - GetWindMax

Part of the CRT group.

%imacro GetWindMax 1
Prefers: 16-bit register

Return the current windows lower-right display coordinates bounds. The coordinates are 0 based.

Examples:

    GetWindMax  dx          ; return DL maximum Column, DH maximum Row
    GetWindMax  [di]        ; store Window maximum at [DS:DI]

See also: GetWindMin, Window and GetLimitXY.