[DllImport("user32.dll", SetLastError = true)] public static extern IntPtr BroadcastSystemMessage( uint flags, ref uint pdwRecipients, uint uiMessage, UIntPtr wParam, IntPtr lParam );
Microsoft documentation: Link
Last updated 1 year ago