[ros-dev] win2k poroblem
Hartmut Birr
hartmut.birr at gmx.de
Thu Mar 17 19:22:07 CET 2005
Mike Nordell schrieb:
>Hartmut Birr wrote:
>
>
>
>>while looking for the console closing problem, I've seen that win2k
>>calls PsLookupProcessByProcessId very often with a id of 0xffffffff.
>>
>>
>
>~0 (or -1) is in Win32 (and therefore by extension likely also for NT) the
>"pseudo handle" for the current process.
>
>~1 (or -2) is current thread.
>
>
I know this. The value -1 is not used as pseudo handle. The value is
passed as id to PsLookupProcessByProcessId and that is wrong.
- Hartmut
More information about the Ros-dev
mailing list