The function returns the integer <STRONG>ERR</STRONG> upon failure and <STRONG>OK</STRONG>
on success. It will fail if either of the dimensions less
than or equal to zero, or if an error occurs while
(re)allocating memory for the window.
The function returns the integer <STRONG>ERR</STRONG> upon failure and <STRONG>OK</STRONG>
on success. It will fail if either of the dimensions less
than or equal to zero, or if an error occurs while
(re)allocating memory for the window.