|
// ------------------------------------------------------------------------------
// <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.Controls
{
/// <summary>The TOOLINFO structure contains information about a tool in a tooltip control. (Unicode)</summary>
/// <remarks>
/// <para>Normal windows display text left-to-right (LTR). Windows can be <i>mirrored</i> to display languages such as Hebrew or Arabic that read right-to-left (RTL). Normally, tooltip text is displayed in the same direction as the text in its parent window. If TTF_RTLREADING is set, tooltip text will read in the opposite direction from the text in the parent window.</para>
/// <para>> [!NOTE] > The commctrl.h header defines TTTOOLINFO as an alias which automatically selects the ANSI or Unicode version of this function based on the definition of the UNICODE preprocessor constant. Mixing usage of the encoding-neutral alias with code that not encoding-neutral can lead to mismatches that result in compilation or runtime errors. For more information, see [Conventions for Function Prototypes](/windows/win32/intl/conventions-for-function-prototypes).</para>
/// <para><see href="https://learn.microsoft.com/windows/win32/api/commctrl/ns-commctrl-tttoolinfow#">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 TTTOOLINFOW
{
/// <summary>
/// <para>Type: <b><a href="https://docs.microsoft.com/windows/desktop/WinProg/windows-data-types">UINT</a></b> Size of this structure, in bytes. This member must be specified.</para>
/// <para><see href="https://learn.microsoft.com/windows/win32/api/commctrl/ns-commctrl-tttoolinfow#members">Read more on docs.microsoft.com</see>.</para>
/// </summary>
internal uint cbSize;
/// <summary>Type: <b><a href="https://docs.microsoft.com/windows/desktop/WinProg/windows-data-types">UINT</a></b></summary>
internal winmdroot.UI.Controls.TOOLTIP_FLAGS uFlags;
/// <summary>
/// <para>Type: <b><a href="https://docs.microsoft.com/windows/desktop/WinProg/windows-data-types">HWND</a></b> Handle to the window that contains the tool. If <b>lpszText</b> includes the LPSTR_TEXTCALLBACK value, this member identifies the window that receives the <a href="https://docs.microsoft.com/windows/desktop/Controls/ttn-getdispinfo">TTN_GETDISPINFO</a> notification codes.</para>
/// <para><see href="https://learn.microsoft.com/windows/win32/api/commctrl/ns-commctrl-tttoolinfow#members">Read more on docs.microsoft.com</see>.</para>
/// </summary>
internal winmdroot.Foundation.HWND hwnd;
/// <summary>
/// <para>Type: <b><a href="https://docs.microsoft.com/windows/desktop/WinProg/windows-data-types">UINT_PTR</a></b> Application-defined identifier of the tool. If <b>uFlags</b> includes the TTF_IDISHWND flag, <b>uId</b> must specify the window handle to the tool.</para>
/// <para><see href="https://learn.microsoft.com/windows/win32/api/commctrl/ns-commctrl-tttoolinfow#members">Read more on docs.microsoft.com</see>.</para>
/// </summary>
internal nuint uId;
/// <summary>
/// <para>Type: <b><a href="https://docs.microsoft.com/windows/desktop/api/windef/ns-windef-rect">RECT</a></b> The bounding rectangle coordinates of the tool. The coordinates are relative to the upper-left corner of the client area of the window identified by <b>hwnd</b>. If <b>uFlags</b> includes the TTF_IDISHWND flag, this member is ignored.</para>
/// <para><see href="https://learn.microsoft.com/windows/win32/api/commctrl/ns-commctrl-tttoolinfow#members">Read more on docs.microsoft.com</see>.</para>
/// </summary>
internal winmdroot.Foundation.RECT rect;
/// <summary>
/// <para>Type: <b><a href="https://docs.microsoft.com/windows/desktop/WinProg/windows-data-types">HINSTANCE</a></b> Handle to the instance that contains the string resource for the tool. If <b>lpszText</b> specifies the identifier of a string resource, this member is used.</para>
/// <para><see href="https://learn.microsoft.com/windows/win32/api/commctrl/ns-commctrl-tttoolinfow#members">Read more on docs.microsoft.com</see>.</para>
/// </summary>
internal winmdroot.Foundation.HINSTANCE hinst;
/// <summary>
/// <para>Type: <b><a href="https://docs.microsoft.com/windows/desktop/WinProg/windows-data-types">LPTSTR</a></b> Pointer to the buffer that contains the text for the tool, or identifier of the string resource that contains the text. This member is sometimes used to return values. If you need to examine the returned value, must point to a valid buffer of sufficient size. Otherwise, it can be set to <b>NULL</b>. If <b>lpszText</b> is set to LPSTR_TEXTCALLBACK, the control sends the <a href="https://docs.microsoft.com/windows/desktop/Controls/ttn-getdispinfo">TTN_GETDISPINFO</a> notification code to the owner window to retrieve the text.</para>
/// <para><see href="https://learn.microsoft.com/windows/win32/api/commctrl/ns-commctrl-tttoolinfow#members">Read more on docs.microsoft.com</see>.</para>
/// </summary>
internal winmdroot.Foundation.PWSTR lpszText;
/// <summary>
/// <para>Type: <b><a href="https://docs.microsoft.com/windows/desktop/WinProg/windows-data-types">LPARAM</a></b> <b>Version 4.70 and later</b>. A 32-bit application-defined value that is associated with the tool.</para>
/// <para><see href="https://learn.microsoft.com/windows/win32/api/commctrl/ns-commctrl-tttoolinfow#members">Read more on docs.microsoft.com</see>.</para>
/// </summary>
internal winmdroot.Foundation.LPARAM lParam;
/// <summary>
/// <para>Type: <b>void*</b> Reserved. Must be set to <b>NULL</b>.</para>
/// <para><see href="https://learn.microsoft.com/windows/win32/api/commctrl/ns-commctrl-tttoolinfow#members">Read more on docs.microsoft.com</see>.</para>
/// </summary>
internal unsafe void* lpReserved;
}
}
}
|