summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authorsr55 <[email protected]>2009-05-26 22:32:34 +0000
committersr55 <[email protected]>2009-05-26 22:32:34 +0000
commitdab4cbed725a789264014f8a5aeb19b3287b6195 (patch)
tree8d9a0be32653dd070fabea6ced90717629649f93 /win
parentfddec5e55d487728a34e6b894b342c49ad0e0ca3 (diff)
WinGui:
- Missing Win32.cs File git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2454 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win')
-rw-r--r--win/C#/Functions/Win32.cs10
1 files changed, 10 insertions, 0 deletions
diff --git a/win/C#/Functions/Win32.cs b/win/C#/Functions/Win32.cs
new file mode 100644
index 000000000..2d067b40e
--- /dev/null
+++ b/win/C#/Functions/Win32.cs
@@ -0,0 +1,10 @@
+using System.Runtime.InteropServices;
+
+namespace Handbrake.Functions
+{
+ class Win32
+ {
+ [DllImport("user32.dll")]
+ public static extern int SetForegroundWindow(int hWnd);
+ }
+}