const uint ATTACH_PARENT_PROCESS = 0x0ffffffff;
Public ATTACH_PARENT_PROCESS As UInteger = UInteger.MaxValue ' constant representation workaround used
Visual basic users: Not tested, and may not work. Since the bug in .NET 2005 VB not allowing a hexidecimal representation of &H0FFFFFFFF, I am not sure if it will work or not. In theory it should work unless there are other bugs I don't know about. I do not use VB, so if anyone finds out fix the article if there is a bug.
Derived from MSDN and WinBase.h original value was: ((DWORD)-1) which is the same numerically as above.
Contributed by [ http://www.paradisim.net ] [ http://inversegoogle.paradisim.net/index3.htm ] - gabriel@paradisim.net