mirror of
https://github.com/microsoft/PowerToys
synced 2025-08-23 10:37:43 +00:00
25 lines
880 B
C#
25 lines
880 B
C#
|
// Copyright (c) Microsoft Corporation
|
|||
|
// The Microsoft Corporation licenses this file to you under the MIT license.
|
|||
|
// See the LICENSE file in the project root for more information.
|
|||
|
|
|||
|
using System.Runtime.InteropServices;
|
|||
|
using MouseJumpUI.NativeMethods.Core;
|
|||
|
|
|||
|
namespace MouseJumpUI.NativeMethods;
|
|||
|
|
|||
|
internal static partial class User32
|
|||
|
{
|
|||
|
/// <summary>
|
|||
|
/// Retrieves a handle to the desktop window. The desktop window covers the entire
|
|||
|
/// screen. The desktop window is the area on top of which other windows are painted.
|
|||
|
/// </summary>
|
|||
|
/// <returns>
|
|||
|
/// The return value is a handle to the desktop window.
|
|||
|
/// </returns>
|
|||
|
/// <remarks>
|
|||
|
/// See https://learn.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-getdesktopwindow
|
|||
|
/// </remarks>
|
|||
|
[LibraryImport(Libraries.User32)]
|
|||
|
public static partial HWND GetDesktopWindow();
|
|||
|
}
|