Files
mirror-processhacker/trunk/ProcessHacker/Components/MutantProperties.cs
T
wj32 40e736cd63 * refactoring: typos, etc.
* new reference counting system for handles, memory allocations and symbol provider
* added terminal server objects (server, session, process)
* proper SID class
* moved logging into ProcessHacker.Common

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1382 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-06-07 06:30:47 +00:00

29 lines
747 B
C#

using System.Windows.Forms;
using ProcessHacker.Native.Objects;
namespace ProcessHacker.Components
{
public partial class MutantProperties : UserControl
{
private MutantHandle _mutantHandle;
public MutantProperties(MutantHandle mutantHandle)
{
InitializeComponent();
_mutantHandle = mutantHandle;
_mutantHandle.Reference();
this.UpdateInfo();
}
private void UpdateInfo()
{
var basicInfo = _mutantHandle.GetBasicInformation();
labelCurrentCount.Text = basicInfo.CurrentCount.ToString();
labelAbandoned.Text = (basicInfo.AbandonedState != 0).ToString();
}
}
}