Windows 3.1 Device Drivers (ddag31qh.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.
BANDINFOSTRUCT
                                                     Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
typedef struct _BANDINFOSTRUCT {
    BOOL fGraphics;
    BOOL fText;
    RECT rcGraphics;
} BANDINFOSTRUCT;
 
The BANDINFOSTRUCT structure, used by banding drivers, specifies whether
graphics and text are on the page.
 
Member      Description
────────────────────────────────────────────────────────────────────────────
 
fGraphics   Specifies whether graphics are on the page. It is nonzero if
            graphics are on the page; zero if not.
 
fText       Specifies whether text is on the page. It is nonzero if text is
            on the page; zero if not.
 
rcGraphics  Specifies a RECT structure that contains the coordinates for the
            rectangle bounding all nontext graphics on the page.
 
Comments
 
A driver receives BANDINFOSTRUCT structures from applications that call the
BANDINFO escape. Information in the structure helps the driver optimize the
banding process. For example, if there are no graphics, the driver may be
able to skip the graphics bands. If the bounding rectangle for graphics is
smaller than the page, the driver has the option of banding only the
specified graphics rectangle rather than the whole page.
 
See Also
 
BANDINFO, NEXTBAND, BANDINFOSTRUCT, PDEVICE, RECT
 
 
                                      ♦