mirror of
https://github.com/chylex/TweetDuck.git
synced 2025-08-18 13:31:41 +02:00
Configuration
Core
Data
Plugins
Properties
Resources
Updates
bld
lib
TweetLib.Audio
TweetLib.Communication
Properties
Utils
NativeMethods.cs
Comms.cs
DuplexPipe.cs
TweetLib.Communication.csproj
subprocess
tests
video
.gitignore
LICENSE.md
Program.cs
README.md
Reporter.cs
TweetDuck.csproj
TweetDuck.sln
TweetDuck.sln.DotSettings
packages.config
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);
|
|
}
|
|
}
|