#include "stdafx.h"
#include <tlhelp32.h>
#include "findproc.h"
Go to the source code of this file.
Defines | |
#define | CloseToolhelp32Snapshot CloseHandle |
Functions | |
int | FindProcessByNames (HANDLE hSnapshot, TCHAR **pszNames, unsigned NameCount, bool RestartSearch, unsigned *pMatchedIndex) |
int | FindProcessByName (HANDLE hSnapshot, TCHAR *pszName, bool RestartSearch) |
int | FindProcessByName (TCHAR *pszName) |
LPVOID | GetModuleFromProcess (int PID, TCHAR *pszModuleName) |
int | GetFirstThreadID (int PID) |
Definition in file findproc.cpp.
#define CloseToolhelp32Snapshot CloseHandle |
Definition at line 14 of file findproc.cpp.
int FindProcessByName | ( | TCHAR * | pszName | ) |
int FindProcessByName | ( | HANDLE | hSnapshot, | |
TCHAR * | pszName, | |||
bool | RestartSearch | |||
) |
int FindProcessByNames | ( | HANDLE | hSnapshot, | |
TCHAR ** | pszNames, | |||
unsigned | NameCount, | |||
bool | RestartSearch, | |||
unsigned * | pMatchedIndex | |||
) |
Definition at line 17 of file findproc.cpp.
int GetFirstThreadID | ( | int | PID | ) |
Definition at line 82 of file findproc.cpp.
LPVOID GetModuleFromProcess | ( | int | PID, | |
TCHAR * | pszModuleName | |||
) |
Definition at line 58 of file findproc.cpp.