home *** CD-ROM | disk | FTP | other *** search
/ The C Users' Group Library 1994 August / wc-cdrom-cusersgrouplibrary-1994-08.iso / listings / v_11_08 / hellquis / profiles.h < prev    next >
Text File  |  1993-01-24  |  758b  |  30 lines

  1. // profiles.h  -- implementation of windows profile routines
  2. //      930124 ,  (c) 1993, Gunnar Hellquist, Stockholm
  3.  
  4. typedef char * LPSTR;
  5. typedef unsigned int WORD ;
  6. typedef int  BOOL ;
  7.  
  8. #define MAXWORD 65535l
  9. #define MAXINTLEN  7
  10.  
  11. #define MAXLINELEN  256
  12. //--- define SEARCHPATH if awailable (in Borland C++)
  13. #define SEARCHPATH
  14.  
  15. int GetPrivateProfileString( LPSTR lpApplicationName,
  16.         LPSTR lpKeyName, LPSTR lpDefault,
  17.         LPSTR lpReturnedString, int nSize,
  18.         LPSTR lpFileName) ;
  19.  
  20. WORD GetPrivateProfileInt  (LPSTR lpApplicationName,
  21.         LPSTR lpKeyName, int nDefault,
  22.         LPSTR lpFileName);
  23.  
  24. BOOL WritePrivateProfileString ( LPSTR lpApplicationName,
  25.         LPSTR lpKeyName, LPSTR lpString,
  26.         LPSTR lpFileName);
  27.  
  28. //-- end of profiles.h
  29.  
  30.