home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / S12732.ZIP / INIEDIT.H < prev    next >
C/C++ Source or Header  |  1990-08-17  |  1KB  |  45 lines

  1. /* include res file definitions */
  2. #include "inires.h"
  3.  
  4. /****************************** Global Defines ******************************/
  5.  
  6. #define MAX_STRING_LEN     132
  7. #define MAX_APP_NAMES     256
  8. #define APP_FORM       0            /* Display Formats */
  9. #define ALL_FORM       1
  10.  
  11. #define SZALL     "Show All Entries"
  12. #define SZAPP     "Show Application Names"
  13.  
  14.  
  15. /*********************** Common Function Declarations ***********************/
  16.  
  17. void ErrMessage( PCHAR );
  18. VOID FindNext( VOID );
  19. VOID PrintThread( VOID );
  20.  
  21. MRESULT _loadds EXPENTRY SearchWndProc( HWND, USHORT, MPARAM, MPARAM );
  22. MRESULT _loadds EXPENTRY AddKeyWndProc( HWND, USHORT, MPARAM, MPARAM );
  23. MRESULT _loadds EXPENTRY DelAppWndProc( HWND, USHORT, MPARAM, MPARAM );
  24. MRESULT _loadds EXPENTRY DelKeyWndProc( HWND, USHORT, MPARAM, MPARAM );
  25. MRESULT _loadds EXPENTRY ChangeKeyWndProc( HWND, USHORT, MPARAM, MPARAM );
  26.  
  27.  
  28. /****************************** Type Definitions ****************************/
  29.  
  30. typedef struct
  31.     {
  32.     CHAR    szKey[MAX_STRING_LEN];
  33.     CHAR    szValue[MAX_STRING_LEN];
  34.     }    PAIRSTRUCT;
  35. typedef PAIRSTRUCT* PPAIRSTRUCT;
  36.  
  37.  
  38. typedef struct
  39.     {
  40.     CHAR     szAppName[MAX_STRING_LEN];
  41.     USHORT     cKeys;
  42.     PPAIRSTRUCT  pPairs;
  43.     }    GROUPSTRUCT;
  44. typedef GROUPSTRUCT* PGROUPSTRUCT;
  45.