profile.h 673 B

1234567891011121314151617181920212223242526
  1. //
  2. // profile.h
  3. // Profile support.
  4. // Programed by XuYiFeng 1995.4.25, All rights reserved.
  5. //
  6. #ifndef __PROFILE_H
  7. #define __PROFILE_H
  8. #ifdef __cplusplus
  9. extern "C" {
  10. #endif
  11. long GetPrivateProfileInt( const char *section, const char *entry, long defaultInt,
  12. const char *fileName );
  13. int GetPrivateProfileString( const char *section, const char *entry,
  14. const char *defaultString, char *buffer,
  15. int bufLen, const char *fileName );
  16. int WritePrivateProfileString( const char *section, const char *entry,
  17. const char *string, const char *fileName );
  18. #ifdef __cplusplus
  19. }
  20. #endif
  21. #endif