forked from Thomas-Mielke-Software/ECTImport
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathUtils.h
20 lines (14 loc) · 739 Bytes
/
Utils.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/*//////////////////////////////////////////////////////////////////////////////
// Name: utils.h
// Purpose: utility routines
// Author: Ruediger Herrmann
// Copyright: (c) Ruediger Herrmann
//////////////////////////////////////////////////////////////////////////////*/
#if !defined ( _UTILS_H_ )
#define _UTILS_H_
BOOL WritePrivateProfileInt ( LPCTSTR AppName, LPCTSTR KeyName, INT Value, LPCTSTR FileName );
BOOL GetPrivateProfileString ( LPCTSTR AppName, LPCTSTR KeyName, LPCSTR Default, CString* Value, LPCTSTR FileName );
BOOL ExistsPrivateProfileSection ( LPCTSTR AppName, LPCTSTR FileName );
BOOL IsLeapYear ( const int Year );
int DaysPerMonth ( const int Year, const int Month );
#endif /* _UTILS_H_ */