home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 11 Util / 11-Util.zip / BKUPINI.ZIP / INIPGMS.H < prev    next >
C/C++ Source or Header  |  1990-05-20  |  2KB  |  56 lines

  1. #define INCL_PM
  2. #define INCL_DOSMEMMGR
  3. #define INCL_DOSFILEMGR
  4. #define INCL_DOSPROCESS
  5. #include <os2.h>
  6. #include <stdio.h>
  7. #include <stdlib.h>
  8. #include <string.h>
  9. #include "DSPLGRPS.h"       
  10. #include "SAVEPGMS.h"       
  11. #include "OPENINI.h"       
  12. #include "BKSYSINI.h"       
  13. #include "BKUPRUN.h"       
  14. #define ID_INIPGMS 1
  15.  
  16. #include "inipgms1.h"
  17.  
  18. #define IDM_FILE                            1000
  19. #define IDM_FILE_OPENINIFILE                     1050
  20. #define IDM_FILE_EXTRACTFROMSYSTEM               1100
  21. #define IDM_FILE_RELOADTOSYSTEM                  1150
  22. #define IDM_FILE_BACKUPSYSTEMINIS                1200
  23. #define IDM_FILE_EXIT                            1250
  24.  
  25. #define IDLG_DSPLGRPS           100
  26. #define IDLG_SAVEPGMS           101
  27. #define IDLG_OPENINI            102
  28. #define IDLG_BKSYSINI           103
  29. #define IDLG_BKUPRUN            104
  30.  
  31. #define IDS_ERR_WINDOW_CREATE 1
  32. #define IDS_ERR_WINDOW_POS 2
  33.  
  34. // these structures are used to add the program name to the task list
  35. EXTERN HSWITCH hSwitch;
  36. EXTERN SWCNTRL pSwctl;
  37.  
  38. EXTERN CHAR szAppName[20];   // class name of application
  39.  
  40.  
  41. EXTERN HAB  hAB;             // Handle to the Anchor Block   
  42. EXTERN HMQ  hMQ;             // Handle to the Message Queue  
  43. EXTERN HWND hWndFrame;       // Handle to the Window Frame   
  44. EXTERN HWND hWndClient;      // Handle to the Client Window
  45.  
  46.  
  47. // Function prototypes
  48. INT RegisterClass(VOID);
  49. HWND CreateWindow(HWND, ULONG, PCH, PCH, USHORT, INT, INT, INT, INT, PHWND, ULONG, USHORT);
  50. MRESULT EXPENTRY WndProc(HWND, USHORT, MPARAM, MPARAM);
  51. MRESULT EXPENTRY DSPLGRPSMsgProc(HWND, USHORT, MPARAM, MPARAM);
  52. MRESULT EXPENTRY SAVEPGMSMsgProc(HWND, USHORT, MPARAM, MPARAM);
  53. MRESULT EXPENTRY OPENINIMsgProc(HWND, USHORT, MPARAM, MPARAM);
  54. MRESULT EXPENTRY BKSYSINIMsgProc(HWND, USHORT, MPARAM, MPARAM);
  55. MRESULT EXPENTRY BKUPRUNMsgProc(HWND, USHORT, MPARAM, MPARAM);
  56.