summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
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);
+ }
+}