Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- QWIKC20 & Multi-Level Virtual Windows - Norton Guide http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]

                                DYNAMIC VARIABLES

  Dynamic Variables - These variables are allocated to the heap to leave more
  room for global variables.  The far heap is always used, therefore the Tiny
  Model is not supported.  The allocations are done in initwindow.

    Pointer         Description
    --------------  ---------------------------------------------------------
    virtualstat     (Type: wndwstat_t far *)  This array of window structures
                    is for the virtual screens associated with the virtual
                    windows.  All routines use this data when writing to
                    virtual screens by copying it to tws.  The index for this
                    record is obtain from tws.vi.  Since this array is filled
                    at random, vi does not correspond to wi.  When a virtual
                    window is removed, these stats are "freed" by setting
                    wsname to FREEWINDOW - they are not freed by calling
                    free().  All video pages use this one array.

    pagestat        (Type: wndwstat_t far *)  If your program uses multiple
                    video pages, a complete structure containing all the
                    window records and indexes is saved for each video page.
                    Any pagestat can be swapped with the top page variables
                    (the first 10 listed under "Single Page Variables" above)
                    to work on the current video page.  The writetopage
                    function handles this operation.



Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson