mirror of
https://github.com/LorenzCK/OnTopReplica.git
synced 2024-06-03 11:04:32 +12:00
21 lines
574 B
C#
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);
|
|
|
|
}
|
|
|
|
}
|