|
|
1.1.1.2 ! root 1: ! 2: /******************************************************************************\ ! 3: * This is a part of the Microsoft Source Code Samples. ! 4: * Copyright (C) 1993 Microsoft Corporation. ! 5: * All rights reserved. ! 6: * This source code is only intended as a supplement to ! 7: * Microsoft Development Tools and/or WinHelp documentation. ! 8: * See these sources for detailed information regarding the ! 9: * Microsoft samples programs. ! 10: \******************************************************************************/ ! 11: 1.1 root 12: /* These defines determine the meaning of the fFlags variable. The low byte 13: * is used for the various types of "boxes" to draw. The high byte is 14: * available for special commands. 15: */ 16: 17: #define SL_BOX 1 /* Draw a solid border around the rectangle */ 18: #define SL_BLOCK 2 /* Draw a solid rectangle */ 19: 20: #define SL_EXTEND 256 /* Extend the current pattern */ 21: 22: #define SL_TYPE 0x00FF /* Mask out everything but the type flags */ 23: #define SL_SPECIAL 0xFF00 /* Mask out everything but the special flags */ 24: 25: // Temporary porting macros 26: 1.1.1.2 ! root 27: #define INT2DWORD DWORD 1.1 root 28: typedef POINTS MPOINT; 1.1.1.2 ! root 29: #define MAKEMPOINT(l) (*((MPOINT *)&(l))) ! 30: #define MPOINT2POINT(mpt, pt) ((pt).x = (mpt).x, (pt).y = (mpt).y) ! 31: #define POINT2MPOINT(pt, mpt) ((mpt).x = (SHORT)(pt).x, (mpt).y = (SHORT)(pt).y) 1.1 root 32: 33: 34: int APIENTRY StartSelection(HWND, MPOINT, LPRECT, int); 35: int APIENTRY UpdateSelection(HWND, MPOINT, LPRECT, int); 36: int APIENTRY EndSelection(MPOINT, LPRECT); 37: int APIENTRY ClearSelection(HWND, LPRECT, int);
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.