home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / ddkx86v5.zip / DDKX86 / SRC / PEN / PENTKT / UTIL / PENCAL / CAL.H < prev    next >
Text File  |  1995-04-14  |  2KB  |  37 lines

  1. /*DDK*************************************************************************/
  2. /*                                                                           */
  3. /* COPYRIGHT    Copyright (C) 1995 IBM Corporation                           */
  4. /*                                                                           */
  5. /*    The following IBM OS/2 WARP source code is provided to you solely for  */
  6. /*    the purpose of assisting you in your development of OS/2 WARP device   */
  7. /*    drivers. You may use this code in accordance with the IBM License      */
  8. /*    Agreement provided in the IBM Device Driver Source Kit for OS/2. This  */
  9. /*    Copyright statement may not be removed.                                */
  10. /*                                                                           */
  11. /*****************************************************************************/
  12. #define ARL  1    // application revision level
  13.  
  14. // application state values for AdjustWndProc (appState)
  15. // note: the order must match order of button creation
  16. #define IDM_BASE      100
  17. #define IDM_OK        100
  18. #define IDM_CALIBRATE 101
  19. #define IDM_DEFAULTS  102
  20. #define IDM_TEST      103
  21. #define IDM_CANCEL    104
  22.  
  23. // alignment interface structure
  24. typedef struct _TARGETAREA {
  25.   LONG xlow;
  26.   LONG xcen;
  27.   LONG xhigh;
  28.   LONG ylow;
  29.   LONG ycen;
  30.   LONG yhigh;
  31. } TARGETAREA;
  32.  
  33. // alignment interface commands
  34. #define PAINT_TARGET    WM_USER+1
  35. #define ALIGNMENT_DONE  WM_USER+2
  36. #define DEFAULTS_PART2  WM_USER+3
  37.