Files
mirror-processhacker/1.x/trunk/ProcessHacker/UI/WindowFromHandle.cs
T
wj32 21b9a501d3 fixed PhUtils.GetForegroundWindow
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2330 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-11-01 02:04:43 +00:00

23 lines
430 B
C#

using System;
using System.Collections.Generic;
using System.Text;
using System.Windows.Forms;
namespace ProcessHacker.UI
{
public struct WindowFromHandle : IWin32Window
{
private IntPtr _handle;
public WindowFromHandle(IntPtr handle)
{
_handle = handle;
}
public IntPtr Handle
{
get { return _handle; }
}
}
}