Annotation of mstools/samples/select/select.h, revision 1.1.1.1

1.1       root        1: /* These defines determine the meaning of the fFlags variable.  The low byte
                      2:  * is used for the various types of "boxes" to draw.  The high byte is
                      3:  * available for special commands.
                      4:  */
                      5: 
                      6: #define SL_BOX    1             /* Draw a solid border around the rectangle  */
                      7: #define SL_BLOCK  2             /* Draw a solid rectangle                    */
                      8: 
                      9: #define SL_EXTEND 256           /* Extend the current pattern                */
                     10: 
                     11: #define SL_TYPE    0x00FF       /* Mask out everything but the type flags    */
                     12: #define SL_SPECIAL 0xFF00       /* Mask out everything but the special flags */
                     13: 
                     14: // Temporary porting macros
                     15: 
                     16: #define INT2DWORD              DWORD
                     17: typedef POINTS MPOINT;
                     18: #define MAKEMPOINT(l)          (*((MPOINT *)&(l)))
                     19: #define MPOINT2POINT(mpt, pt)  ((pt).x = (mpt).x, (pt).y = (mpt).y)
                     20: #define POINT2MPOINT(pt, mpt)  ((mpt).x = (SHORT)(pt).x, (mpt).y = (SHORT)(pt).y)
                     21: 
                     22: 
                     23: int APIENTRY StartSelection(HWND, MPOINT, LPRECT, int);
                     24: int APIENTRY UpdateSelection(HWND, MPOINT, LPRECT, int);
                     25: int APIENTRY EndSelection(MPOINT, LPRECT);
                     26: int APIENTRY ClearSelection(HWND, LPRECT, int);

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.