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
Support Forum
Download Visual Studio Add-In

Terms of Use
Privacy Policy
PROCESS_INFORMATION (Structures)
.
Summary

C# Signature:

[StructLayout(LayoutKind.Sequential)]
internal struct PROCESS_INFORMATION
{
   public IntPtr hProcess;
   public IntPtr hThread;
   public int dwProcessId;
   public int dwThreadId;
}

VB Signature:

Structure PROCESS_INFORMATION
   Public hProcess As IntPtr
   Public hThread As IntPtr
   Public dwProcessId As Integer
   Public dwThreadId As Integer
End Structure

User-Defined Types:

None.

Notes:

None.

Tips & Tricks:

The handle returned in the PROCESS_INFORMATION structure should be closed explicitly.

Sample Code:

Please add some!

Alternative Managed API:

Do you know one? Please contribute it!

Documentation

Please edit this page!

Do you have...

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

Select "Edit This Page" on the right hand toolbar and edit it! Or add new pages containing any supporting types needed.


NEW: SmartAssembly 5.0

Automated Error Reporting: get a volume of crash reports and a complete state of your program whenever it fails, and improve the quality of your program.

Try it for free.

Download Now
 
Access PInvoke.net directly from VS:
Terms of Use
Edit This Page
Find References
Show Printable Version
Revisions