C Language and Libraries Help (clang.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
_wsetscreenbuf
 Summary Example                         Up Contents Index Back
─────Run-Time Library───────────────────────────────────────────────────────
 
     The _wsetscreenbuf function sets the size of a QuickWin window's
     screen buffer to <bufsiz> bytes. This size determines how much
     text is retained in the buffer and thus how much text you can
     scroll back through.
 
     This routine is used only in QuickWin programs; it is not part of
     the Windows API. For full details about QuickWin, see Chapter 8 of
     the Programming Techniques manual.
 
     The <bufsiz> argument can be specified as a number or as one of
     the following values:
 
     Value          Meaning
 
     _WINBUFDEF     Use the default window screen-buffer size (2048
                    bytes)
     _WINBUFINF     Use a window screen buffer of unlimited size
 
     The buffer size simply limits how big the buffer can become. The
     buffer is always allocated dynamically, so that it fits its
     contents. Specifying _WINBUFINF puts no upper limit on buffer
     size. The buffer may grow within the limits of available memory.
 
     Return Value
 
     If successful, _wsetscreenbuf returns 0. A return value of -1
     indicates an error.
                                    -♦-