[python-win32] exitCode for win32process.GetExitCodeProcess

Mark Hammond mhammond@skippinet.com.au
Fri, 31 May 2002 16:53:28 +1000


> 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.

>>> import win32con
>>> win32con.STILL_ACTIVE
259
>>> 

Mark.