[python-win32] exitCode for win32process.GetExitCodeProcess
Gabriel Genellina
gagenellina@softlab.com.ar
Thu, 30 May 2002 22:53:02 -0300
At 06:17 p.m. 30/5/2002 +0100, you wrote:
>The MSDN literature states that calling
>win32process.GetExitCodeProcess(hProcess) on an active process returns the
>integer exit code STILL_ACTIVE. I cannot see this constant defined
>anywhere in the win32 extensions. From trying it out I seem to get an exit
>code of 259 when I attempt the method call on an active process.
>
>Does anyone know if this is the value of the STILL_ACTIVE constant, or
>where I can access it? I've tried looking through the source code but to
>no avail.
From winbase.h:
#define STILL_ACTIVE STATUS_PENDING
From winnt.h:
#define STATUS_PENDING ((DWORD )0x00000103L)
That's exactly 259
Gabriel Genellina
Softlab SRL