Annotation of pmsdk/samples/petzold/chap17/bigjob.h, revision 1.1.1.1

1.1       root        1: /*----------------------
                      2:    BIGJOB.H header file
                      3:   ----------------------*/
                      4: 
                      5: #define ID_RESOURCE 1
                      6: 
                      7: #define IDM_REPS    1
                      8: #define IDM_ACTION  2
                      9: #define IDM_10      10
                     10: #define IDM_100     11
                     11: #define IDM_1000    12
                     12: #define IDM_10000   13
                     13: #define IDM_100000  14
                     14: #define IDM_START   20
                     15: #define IDM_ABORT   21
                     16: 
                     17: #define STATUS_READY     0
                     18: #define STATUS_WORKING   1
                     19: #define STATUS_DONE      2
                     20: 
                     21: #define WM_CALC_DONE     (WM_USER + 0)  // Used in BIGJOB4 and BIGJOB5
                     22: #define WM_CALC_ABORTED  (WM_USER + 1)
                     23: 
                     24: #define STACKSIZE   4096                // Used in BIGJOB4 and BIGJOB5
                     25: 
                     26: typedef struct                          // Used in BIGJOB4 and BIGJOB5
                     27:      {
                     28:      HWND  hwnd ;
                     29:      LONG  lCalcRep ;
                     30:      BOOL  fContinueCalc ;
                     31:      ULONG ulSemTrigger ;               // Used in BIGJOB5
                     32:      }
                     33:      CALCPARAM ;
                     34: 
                     35: typedef CALCPARAM FAR *PCALCPARAM ;
                     36: 
                     37: double  Savage (double A) ;
                     38: VOID    CheckMenuItem (HWND hwnd, SHORT sMenuItem, BOOL fCheck) ;
                     39: VOID    EnableMenuItem (HWND hwnd, SHORT sMenuItem, BOOL fEnable) ;
                     40: VOID    PaintWindow (HWND hwnd, SHORT sStatus, LONG lCalcRep, ULONG ulTime) ;
                     41: MRESULT EXPENTRY ClientWndProc (HWND, USHORT, MPARAM, MPARAM) ;

unix.superglobalmegacorp.com

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