OnTopReplica/OnTopReplica/Native/WindowsSevenMethods.cs
Lorenz Cuno Klopfenstein 6a97df159a Fixed some platform code.
2011-04-04 21:31:07 +02:00

21 lines
574 B
C#

using System;
using System.Collections.Generic;
using System.Text;
using System.Runtime.InteropServices;
namespace OnTopReplica.Native {
static class WindowsSevenMethods {
[DllImport("shell32.dll")]
internal static extern void SetCurrentProcessExplicitAppUserModelID(
[MarshalAs(UnmanagedType.LPWStr)] string appId);
[DllImport("shell32.dll")]
internal static extern void GetCurrentProcessExplicitAppUserModelID(
[Out(), MarshalAs(UnmanagedType.LPWStr)] out string appId);
}
}