File: Windows.Win32.HH_POPUP.g.cs
Project: src\src\System.Windows.Forms.Primitives\src\System.Windows.Forms.Primitives.csproj (System.Windows.Forms.Primitives)
// ------------------------------------------------------------------------------
// <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 Data.HtmlHelp
	{
		/// <summary>Use this structure to specify or modify the attributes of a pop-up window.</summary>
		/// <remarks>
		/// <para><see href="https://learn.microsoft.com/windows/win32/api/htmlhelp/ns-htmlhelp-hh_popup">Learn more about this API from docs.microsoft.com</see>.</para>
		/// </remarks>
		[global::System.CodeDom.Compiler.GeneratedCode("Microsoft.Windows.CsWin32", "0.3.151+58e949951d.RR")]
		internal partial struct HH_POPUP
		{
			/// <summary>Specifies the size of the structure. This value must always be filled in before passing the structure to HtmlHelp().</summary>
			internal int cbStruct;

			/// <summary>Instance handle of the program or DLL to retrieve the string resource from. Ignored if <i>idString</i> is zero, or if <i>idString</i> specifies a file name.</summary>
			internal winmdroot.Foundation.HINSTANCE hinst;

			/// <summary>Specifies zero, a resource ID, or a topic number in a text file.</summary>
			internal uint idString;

			/// <summary>Specifies the text to display if <i>idString</i> is zero.</summary>
			internal unsafe sbyte* pszText;

			/// <summary>Specifies (in pixels) where the top center of the pop-up window should be located.</summary>
			internal global::System.Drawing.Point pt;

			/// <summary>Specifies the RGB value to use for the foreground color of the pop-up window. To use the system color for the window text, specify -1.</summary>
			internal winmdroot.Foundation.COLORREF clrForeground;

			/// <summary>Specifies the RGB value to use for the background color of the pop-up window. To use the system color for the window background, specify -1.</summary>
			internal winmdroot.Foundation.COLORREF clrBackground;

			/// <summary>Specifies (in pixels) the margins to use on the left, top, right, and bottom sides of the pop-up window. The default for all rectangle members is -1.</summary>
			internal winmdroot.Foundation.RECT rcMargins;

			/// <summary>
			/// <para>Specifies the font attributes to use for the text in the pop-up window.</para>
			/// <para>Use the following format to specify font family, point size, character set, and font format: facename[, point size[, charset[ BOLD ITALIC UNDERLINE]]] To omit an attribute, enter a comma. For example, to specify bold, 10-pt, MS Sans Serif font, <i>pszFont</i> would be: MS Sans Serif, 10, , BOLD</para>
			/// <para><see href="https://learn.microsoft.com/windows/win32/api/htmlhelp/ns-htmlhelp-hh_popup#members">Read more on docs.microsoft.com</see>.</para>
			/// </summary>
			internal unsafe sbyte* pszFont;
		}
	}
}