You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
674 B
41 lines
674 B
#pragma once
|
|
#ifndef _SVMUTIL_H_
|
|
#define _SVMUTIL_H_
|
|
/*
|
|
|
|
SVMUTIL.H
|
|
(c) copyright 1998 Microsoft Corp
|
|
|
|
Declarations for shared utility functions
|
|
|
|
Robert Rounthwaite ([email protected])
|
|
|
|
*/
|
|
|
|
|
|
inline bool FTimeEmpty(FILETIME &ft)
|
|
{
|
|
return ((ft.dwLowDateTime == 0) && (ft.dwHighDateTime == 0));
|
|
}
|
|
|
|
inline bool FTimeEmpty(CTime &t)
|
|
{
|
|
return (t.GetYear()<=1970);
|
|
}
|
|
|
|
|
|
enum FeatureLocation
|
|
{
|
|
locNil = 0,
|
|
locBody = 1,
|
|
locSubj = 2,
|
|
locFrom = 3,
|
|
locTo = 4,
|
|
locSpecial = 5
|
|
};
|
|
|
|
bool SpecialFeatureUpperCaseWords(char *pszText);
|
|
bool SpecialFeatureNonAlpha(char *pszText);
|
|
bool FWordPresent(char *szText, char *szWord);
|
|
|
|
#endif
|