Home || Architecture || Video Search || Visual Search || Scripts || Applications || Important Messages || OGL || Src

DWORD Impala::Process::Manager4Windows::GetWinExitCode ( HANDLE  winHandle,
int  handle 
) [inline, private]

Definition at line 181 of file Manager4Windows.h.

References ILOG_ERROR, and Kill().

Referenced by AssessProcessState(), and GetExitCode().

00182     {
00183         DWORD exitCode = NULL;
00184         if ( ! ::GetExitCodeProcess(winHandle, &exitCode))
00185         {
00186             DWORD err = ::GetLastError();
00187             ILOG_ERROR("Failed at retrieving exit code for process handle " << handle << 
00188                 " (last error code " << err << "); attempting to kill the process");
00189             Kill(winHandle, handle);
00190         }
00191         //ILOG_DEBUG("exitCode (DWORD): " << exitCode);
00192         return exitCode;
00193     }

Here is the call graph for this function:


Generated on Fri Mar 19 11:37:45 2010 for ImpalaSrc by  doxygen 1.5.1