mirror of
https://github.com/chylex/TweetDuck.git
synced 2024-11-14 17:42:47 +01:00
15 lines
456 B
C#
15 lines
456 B
C#
using System;
|
|
using System.Runtime.InteropServices;
|
|
|
|
namespace TweetDuck.Browser{
|
|
static class NativeMethods{
|
|
public static readonly IntPtr HWND_BROADCAST = new IntPtr(0xFFFF);
|
|
|
|
[DllImport("user32.dll")]
|
|
public static extern bool PostMessage(IntPtr hWnd, uint msg, UIntPtr wParam, IntPtr lParam);
|
|
|
|
[DllImport("user32.dll")]
|
|
public static extern uint RegisterWindowMessage(string messageName);
|
|
}
|
|
}
|