Windows has no signals in the sense of unix.
You can use OpenProcess to check if a process exists. If it succeeds or fails with an access error, then the process exists.
bool processExists(DWORD ProcessID) { HANDLE hProcess = OpenProcess(SYNCHRONIZE, FALSE, ProcessID); if (hProcess != NULL) { CloseHandle(hProcess); return true; }
source share