File:  [OS/2 SDKs] / os232sdk / toolkt20 / c / samples / bio / bio.h
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Thu Aug 9 12:26:31 2018 UTC (7 years, 9 months ago) by root
Branches: msft, MAIN
CVS tags: os2sdk-1990, HEAD
Microsoft OS/2 SDK 2.0 05-30-1990

/*
   BIOrhythm header file
   Created by Microsoft, IBM Corporation, 1990
*/
/* String table constants */
#define IDS_APPNAME      1
#define IDS_KIDNAME      2

/* Resource Ids */
#define ID_BIO          1
#define IDD_ABOUT       2
#define IDD_DATE        3

/* Menu constants */
#define IDM_DATES	0x100
#define IDM_LEGEND	0x101
#define	IDM_COPY	0x102
#define IDM_ABOUT	0x103

/* Bio Dialog Box constants */
#define ID_BDYEAR        301
#define ID_BDMONTH       302
#define ID_BDDAY         303
#define ID_YEAR          304
#define ID_MONTH         305
#define ID_DAY           306
#define ID_OS2INI        307

/* Function prototypes */
BOOL	cdecl	 main	       ( VOID );
MRESULT EXPENTRY BioWndProc    ( HWND, USHORT, MPARAM, MPARAM );
MRESULT EXPENTRY KidWndProc    ( HWND, USHORT, MPARAM, MPARAM );
VOID		 APPPaint      ( HWND );
MRESULT EXPENTRY BioDlg        ( HWND, USHORT, MPARAM, MPARAM );
MRESULT EXPENTRY About	       ( HWND, USHORT, MPARAM, MPARAM );
MRESULT EXPENTRY FrameWndProc  ( HWND, USHORT, MPARAM, MPARAM );

VOID		 BioGetDate    ( HWND hWnd);
VOID		 InitBioDlg    ( HWND hDlg );
VOID		 BioDlgCmd     ( HWND hDlg, MPARAM mp1 );
double		 julian	       ( SHORT, SHORT, double );
void		 calendar      ( double, SHORT *, SHORT *, double * );
long		 trunc4        ( double );

unix.superglobalmegacorp.com

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