SysLib.h 789 B

123456789101112131415161718192021
  1. #ifndef __SYSLIB_H
  2. #define __SYSLIB_H
  3. #include "const.h"
  4. #include "DBConnection.h"
  5. #include "Global.h"
  6. extern int GetSysData();
  7. extern VOID TerminateLastProcess();
  8. extern int Handle_DeleteTrayNullIcon( BOOL &bNullBeDel );
  9. extern CString GetSensorType( int nSensorType );
  10. extern int GetSensorType( CString strSensorType );
  11. extern BOOL MByteToWChar(LPCSTR lpcszStr, LPWSTR lpwszStr, DWORD dwSize);
  12. extern BOOL WCharToMByte(LPCWSTR lpcwszStr, LPSTR lpszStr, DWORD dwSize);
  13. extern CString InterceptString(int qlen, CString strSource);
  14. extern BOOL BrowseForFolder(CString & sFolderPath, CString sTitle);
  15. extern void TimeTicksToInt(CString strSrc, unsigned long &nDest);
  16. extern unsigned int CalcCheckSum( void *pData, unsigned int nSize );
  17. extern int FindProcess(char *strProcessName);
  18. #endif