home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 4 / DATAFILE_PDCD4.iso / psion / opp16f_zip / INCLUDE / SDK / CALWIN.OPH < prev    next >
Encoding:
Text File  |  1995-12-21  |  815 b   |  52 lines

  1. #define CALWIN_OPH
  2.  
  3. #ifndef BWIN_OPH
  4. #include <sdk\bwin>
  5. #endif
  6.  
  7. /* Property of calimgwn */
  8.  
  9. STRUCT PRS_CALIMGWN
  10.     calimg%
  11. ENDS
  12.  
  13. STRUCT PR_CALIMGWN
  14.     root#(SIZEOF(PRS_ROOT))
  15.     win#(SIZEOF(PRS_WIN))
  16.     calimgwn#(SIZEOF(PRS_CALIMGWN))
  17. ENDS
  18.  
  19. /* Constants for calwin */
  20.  
  21. #define IN_CALWIN_1_MONTH 0x0001
  22. #define IN_CALWIN_3_MONTH 0x0002
  23. #define IN_CALWIN_12_MONTH 0x0004
  24. #define IN_CALWIN_STD_FLAGS 0x0007
  25. #define IN_CALWIN_USER_SPEC 0x0010
  26. #define PR_CALWIN_TODAY_HOOKED 0x0020
  27.  
  28. /* Types for calwin */
  29.  
  30. STRUCT IN_CALWIN
  31.     flags%
  32.     days&
  33.     pos#(SIZEOF(P_POINT))
  34.     calimg%
  35.     self_ptr%
  36. ENDS
  37.  
  38. /* Property of calwin */
  39.  
  40. STRUCT PRS_CALWIN
  41.     calimgwn%
  42.     calimg%
  43.     flags%
  44.     self_ptr%
  45. ENDS
  46.  
  47. STRUCT PR_CALWIN
  48.     root#(SIZEOF(PRS_ROOT))
  49.     win#(SIZEOF(PRS_WIN))
  50.     calwin#(SIZEOF(PRS_CALWIN))
  51. ENDS
  52.