VAR WindMin : Word; When the Window procedure is called the two variables WindMin and WindMax are given the minimum and maximum values of that window. The values are of type word with the X value being equal to Lo(WindMax), and the Y value being equal to the high bit or Hi(WindMax).