home *** CD-ROM | disk | FTP | other *** search
/ Microsoft Programmer's Library 1.3 / Microsoft-Programers-Library-v1.3.iso / sampcode / os2sdk / os2sdk12 / bio / bio.h < prev    next >
Encoding:
C/C++ Source or Header  |  1989-11-20  |  1.2 KB  |  46 lines

  1. /*
  2.    BIOrhythm header file
  3.    Created by Microsoft Corp., 1988
  4. */
  5. /* String table constants */
  6. #define IDS_APPNAME      1
  7. #define IDS_KIDNAME      2
  8.  
  9. /* Resource Ids */
  10. #define ID_BIO          1
  11. #define IDD_ABOUT       2
  12. #define IDD_DATE        3
  13.  
  14. /* Menu constants */
  15. #define IDM_DATES    0x100
  16. #define IDM_LEGEND    0x101
  17. #define    IDM_COPY    0x102
  18. #define IDM_ABOUT    0x103
  19.  
  20. /* Bio Dialog Box constants */
  21. #define ID_BDYEAR        301
  22. #define ID_BDMONTH       302
  23. #define ID_BDDAY         303
  24. #define ID_YEAR          304
  25. #define ID_MONTH         305
  26. #define ID_DAY           306
  27. #define ID_OS2INI        307
  28.  
  29.  
  30. #define EXPENTRY pascal far _loadds
  31.  
  32.  
  33.  
  34. /* Function prototypes */
  35. SHORT cdecl main           ( void );
  36. MRESULT EXPENTRY BioWndProc    ( HWND, USHORT, MPARAM, MPARAM );
  37. MRESULT EXPENTRY KidWndProc    ( HWND, USHORT, MPARAM, MPARAM );
  38. VOID    APIENTRY APPPaint      ( HWND );
  39. MRESULT EXPENTRY BioDlg        ( HWND, USHORT, MPARAM, MPARAM );
  40. MRESULT EXPENTRY About           ( HWND, USHORT, MPARAM, MPARAM );
  41. MRESULT EXPENTRY FrameWndProc  ( HWND, USHORT, MPARAM, MPARAM );
  42.  
  43. double        PASCAL julian      ( int, int, double );
  44. void        PASCAL calendar    ( double, int *, int *, double * );
  45. long        PASCAL trunc4      ( double );
  46.