#ifndef __SYSLIB_H #define __SYSLIB_H #include "const.h" #include "DBConnection.h" #include "Global.h" extern int GetSysData(); extern VOID TerminateLastProcess(); extern int Handle_DeleteTrayNullIcon( BOOL &bNullBeDel ); extern CString GetSensorType( int nSensorType ); extern int GetSensorType( CString strSensorType ); extern BOOL MByteToWChar(LPCSTR lpcszStr, LPWSTR lpwszStr, DWORD dwSize); extern BOOL WCharToMByte(LPCWSTR lpcwszStr, LPSTR lpszStr, DWORD dwSize); extern CString InterceptString(int qlen, CString strSource); extern BOOL BrowseForFolder(CString & sFolderPath, CString sTitle); extern void TimeTicksToInt(CString strSrc, unsigned long &nDest); extern unsigned int CalcCheckSum( void *pData, unsigned int nSize ); extern int FindProcess(char *strProcessName); #endif