Search
Module:
Directory

   Desktop Functions:

   Smart Device Functions:


Show Recent Changes
Subscribe (RSS)
Misc. Pages
Comments
FAQ
Helpful Tools
Playground
Suggested Reading
Website TODO List
Download Visual Studio Add-In

ATTACH_PARENT_PROCESS (Constants)
 
.
Summary
Used by AttachConsole, to allocate the console to the parent PID of the calling thread.

C# Constants:

    const uint ATTACH_PARENT_PROCESS = 0x0ffffffff;

VB Constants:

    Public ATTACH_PARENT_PROCESS As UInteger = UInteger.MaxValue ' constant representation workaround used

Notes:

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.

Documentation

Derived from MSDN and WinBase.h original value was: ((DWORD)-1) which is the same numerically as above.

Author

Contributed by [ http://www.paradisim.net ] [ http://inversegoogle.paradisim.net/index3.htm ] - gabriel@paradisim.net

 

Please edit this page!

Do you have...

  • helpful tips?
  • corrections to the existing content?
  • additional languages you want to include?

Select "Edit This Page" on the right hand toolbar and edit it!

 
Access PInvoke.net directly from VS:
Terms of Use
Find References
Show Printable Version
Revisions