00001 00008 #pragma once 00009 00010 int FindProcessByName(HANDLE hSnapshot, TCHAR *pszName, bool RestartSearch); 00011 int FindProcessByNames(HANDLE hSnapshot, TCHAR **pszName, unsigned NameCount, bool RestartSearch, unsigned *pMatchedIndex); 00012 int FindProcessByName(TCHAR *pszName); 00013 LPVOID GetModuleFromProcess(int PID, TCHAR *pszModuleName); 00014 int GetFirstThreadID(int PID);