mirror of
https://github.com/chylex/TweetDuck.git
synced 2024-11-14 17:42:47 +01:00
15 lines
462 B
C#
15 lines
462 B
C#
using System;
|
|
using TweetLib.Communication.Utils;
|
|
|
|
namespace TweetLib.Communication{
|
|
public static class Comms{
|
|
public static void BroadcastMessage(uint msg, uint wParam, int lParam){
|
|
NativeMethods.PostMessage(NativeMethods.HWND_BROADCAST, msg, new UIntPtr(wParam), new IntPtr(lParam));
|
|
}
|
|
|
|
public static uint RegisterMessage(string name){
|
|
return NativeMethods.RegisterWindowMessage(name);
|
|
}
|
|
}
|
|
}
|