GetExitCodeProcess (kernel32)
Last changed: -204.89.159.138

.
Summary

C# Signature:

[DllImport("kernel32.dll", SetLastError = true)]
static extern bool GetExitCodeProcess(IntPtr hProcess, out uint lpExitCode);

VB Signature:

<DllImport("kernel32.dll", SetLastError:=True)> _
Public Function GetExitCodeProcess(ByVal hProcess As IntPtr, ByRef lpExitCode As System.UInt32) As Boolean
End Function

User-Defined Types:

PROCESS_INFORMATION

Notes:

None.

Tips & Tricks:

Please add some!

Sample Code:

Please add some!

Alternative Managed API:

Process.HasExited

Documentation