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 >
Wrap
Text File
|
1993-01-24
|
758b
|
30 lines
// profiles.h -- implementation of windows profile routines
// 930124 , (c) 1993, Gunnar Hellquist, Stockholm
typedef char * LPSTR;
typedef unsigned int WORD ;
typedef int BOOL ;
#define MAXWORD 65535l
#define MAXINTLEN 7
#define MAXLINELEN 256
//--- define SEARCHPATH if awailable (in Borland C++)
#define SEARCHPATH
int GetPrivateProfileString( LPSTR lpApplicationName,
LPSTR lpKeyName, LPSTR lpDefault,
LPSTR lpReturnedString, int nSize,
LPSTR lpFileName) ;
WORD GetPrivateProfileInt (LPSTR lpApplicationName,
LPSTR lpKeyName, int nDefault,
LPSTR lpFileName);
BOOL WritePrivateProfileString ( LPSTR lpApplicationName,
LPSTR lpKeyName, LPSTR lpString,
LPSTR lpFileName);
//-- end of profiles.h