win12.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.
WinInvertRect (1.2)
Function Group  Overview                          Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
#define INCL_WINMESSAGEMGR
 
BOOL WinInvertRect(hps, prcl)
HPS hps;        /* handle of the presentation space              */
PRECTL prcl;    /* address of structure with rectangle to invert */
 
The WinInvertRect function inverts a rectangular area. Inversion is a
logical NOT operation and flips the bits of each pel.
 
Parameter  Description
────────────────────────────────────────────────────────────────────────────
 
hps        Identifies the presentation space.
 
prcl       Points to the RECTL structure that contains the coordinates of
           the rectangle to invert.
 
Return Value
 
The return value is TRUE if the function is successful or FALSE if an error
occurs.
 
See Also
 
GpiBitBlt, RECTL