31#define WIN32_LEAN_AND_MEAN
51 fprintf(
stderr,
"Could not open the process with PID = %ld\n", dwProcessId);
59 fprintf(
stderr,
"Could not terminate the process with PID = %ld\n", dwProcessId);
struct outqueuenode * tail
BOOL WINAPI TerminateProcess(IN HANDLE hProcess, IN UINT uExitCode)
HANDLE WINAPI OpenProcess(IN DWORD dwDesiredAccess, IN BOOL bInheritHandle, IN DWORD dwProcessId)
_Check_return_opt_ _CRTIMP int __cdecl fprintf(_Inout_ FILE *_File, _In_z_ _Printf_format_string_ const char *_Format,...)
_Check_return_ long __cdecl atol(_In_z_ const char *_Str)
#define PROCESS_TERMINATE
_In_ BOOL _In_ HANDLE hProcess
int ExecuteKill(char *lpPid)
#define DBG_UNREFERENCED_LOCAL_VARIABLE(L)