Category : Files from Magazines
Archive   : PROGJRNL.ZIP
Filename : DC.H

 
Output of file : DC.H contained in archive : PROGJRNL.ZIP
/*
* Header file for the digital clock.
*
* Written by Michael Babcock and Bill Hall
* April 20, 1988
*
*/

/* This trick insures that globals are declared in only one place */
#if !defined(EXTERN)
#define EXTERN extern
#endif

/* Declarations which need to be known in all C source files */
LONG FAR PASCAL MainWndProc(HWND,unsigned,WORD,LONG);
BOOL FAR InitProgram(HANDLE, HANDLE, LPSTR, int);

/* Resource string constants */
#define IDS_APPNAME 100
#define IDS_DISPLAYNAME 101
#define IDS_TIMESTR 102
#define IDS_AM 103
#define IDS_PM 104
#define IDS_FONTWIDTH 105
#define IDS_FONTHEIGHT 106
#define IDS_FONTWEIGHT 107

/* Global variables */
EXTERN HWND hWndMain; /* main window handle */
EXTERN HFONT hFont; /* handle to font used when drawing in icon */
EXTERN WORD ClockTimerEventID; /* timer event identifier */
EXTERN char szAppName[10]; /* name of the application */
EXTERN char szTimestr[10]; /* icon title string */
EXTERN char szAM[10]; /* A. M. string */
EXTERN char szPM[10]; /* P. M. string */


  3 Responses to “Category : Files from Magazines
Archive   : PROGJRNL.ZIP
Filename : DC.H

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/