|
// ------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
// ------------------------------------------------------------------------------
#pragma warning disable CS1591,CS1573,CS0465,CS0649,CS8019,CS1570,CS1584,CS1658,CS0436,CS8981
using global::System;
using global::System.Diagnostics;
using global::System.Diagnostics.CodeAnalysis;
using global::System.Runtime.CompilerServices;
using global::System.Runtime.InteropServices;
using global::System.Runtime.Versioning;
using winmdroot = global::Windows.Win32;
namespace Windows.Win32
{
namespace UI.Input.KeyboardAndMouse
{
/// <summary>Used by the TrackMouseEvent function to track when the mouse pointer leaves a window or hovers over a window for a specified amount of time.</summary>
/// <remarks>
/// <para>The system default hover time-out is initially the menu drop-down time, which is 400 milliseconds. You can call <a href="https://docs.microsoft.com/windows/desktop/api/winuser/nf-winuser-systemparametersinfoa">SystemParametersInfo</a> and use <b>SPI_GETMOUSEHOVERTIME</b> to retrieve the default hover time-out. The system default hover rectangle is the same as the double-click rectangle. You can call <a href="https://docs.microsoft.com/windows/desktop/api/winuser/nf-winuser-systemparametersinfoa">SystemParametersInfo</a> and use <b>SPI_GETMOUSEHOVERWIDTH</b> and <b>SPI_GETMOUSEHOVERHEIGHT</b> to retrieve the size of the rectangle within which the mouse pointer has to stay for <a href="https://docs.microsoft.com/windows/desktop/api/winuser/nf-winuser-trackmouseevent">TrackMouseEvent</a> to generate a <a href="https://docs.microsoft.com/windows/desktop/inputdev/wm-mousehover">WM_MOUSEHOVER</a> message.</para>
/// <para><see href="https://learn.microsoft.com/windows/win32/api/winuser/ns-winuser-trackmouseevent#">Read more on docs.microsoft.com</see>.</para>
/// </remarks>
[global::System.CodeDom.Compiler.GeneratedCode("Microsoft.Windows.CsWin32", "0.3.151+58e949951d.RR")]
internal partial struct TRACKMOUSEEVENT
{
/// <summary>
/// <para>Type: <b>DWORD</b> The size of the <b>TRACKMOUSEEVENT</b> structure, in bytes.</para>
/// <para><see href="https://learn.microsoft.com/windows/win32/api/winuser/ns-winuser-trackmouseevent#members">Read more on docs.microsoft.com</see>.</para>
/// </summary>
internal uint cbSize;
/// <summary>Type: <b>DWORD</b></summary>
internal winmdroot.UI.Input.KeyboardAndMouse.TRACKMOUSEEVENT_FLAGS dwFlags;
/// <summary>
/// <para>Type: <b>HWND</b> A handle to the window to track.</para>
/// <para><see href="https://learn.microsoft.com/windows/win32/api/winuser/ns-winuser-trackmouseevent#members">Read more on docs.microsoft.com</see>.</para>
/// </summary>
internal winmdroot.Foundation.HWND hwndTrack;
/// <summary>
/// <para>Type: <b>DWORD</b> The hover time-out (if <b>TME_HOVER</b> was specified in <b>dwFlags</b>), in milliseconds. Can be <b>HOVER_DEFAULT</b>, which means to use the system default hover time-out.</para>
/// <para><see href="https://learn.microsoft.com/windows/win32/api/winuser/ns-winuser-trackmouseevent#members">Read more on docs.microsoft.com</see>.</para>
/// </summary>
internal uint dwHoverTime;
}
}
}
|