mirror of
https://github.com/chylex/TweetDuck.git
synced 2025-04-16 18:15:48 +02:00
15 lines
467 B
C#
15 lines
467 B
C#
using System;
|
|
using System.Runtime.InteropServices;
|
|
|
|
namespace TweetLib.Communication.Utils{
|
|
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);
|
|
}
|
|
}
|