File: Windows.Win32.OCPFIPARAMS.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 System.Ole
	{
		/// <summary>Contains parameters used to invoke a property sheet dialog box through the OleCreatePropertyFrameIndirect function.</summary>
		/// <remarks>
		/// <para><see href="https://learn.microsoft.com/windows/win32/api/olectl/ns-olectl-ocpfiparams">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 OCPFIPARAMS
		{
			/// <summary>The size of the structure, in bytes.</summary>
			internal uint cbStructSize;

			/// <summary>Handle to the parent window of the resulting property sheet dialog box.</summary>
			internal winmdroot.Foundation.HWND hWndOwner;

			/// <summary>Horizontal position for the dialog box relative to <b>hWndOwner</b>, in pixels.</summary>
			internal int x;

			/// <summary>Vertical position for the dialog box relative to <b>hWndOwner</b>, in pixels.</summary>
			internal int y;

			/// <summary>Pointer to an <a href="https://docs.microsoft.com/windows/desktop/api/wtypesbase/nf-wtypesbase-olestr">OLESTR</a> that contains the caption of the dialog.</summary>
			internal winmdroot.Foundation.PCWSTR lpszCaption;

			/// <summary>Number of object pointers passed in <b>lplpUnk</b>.</summary>
			internal uint cObjects;

			/// <summary>Array of <a href="https://docs.microsoft.com/windows/desktop/api/unknwn/nn-unknwn-iunknown">IUnknown</a> pointers on the objects for which this property sheet is being invoked. The number of elements in the array is specified by <b>cObjects</b>. These pointers are passed to each property page through <a href="https://docs.microsoft.com/windows/desktop/api/ocidl/nf-ocidl-ipropertypage-setobjects">IPropertyPage::SetObjects</a>.</summary>
			internal unsafe winmdroot.System.Com.IUnknown** lplpUnk;

			/// <summary>Number of property pages specified in <b>lpPages</b>.</summary>
			internal uint cPages;

			/// <summary>Pointer to an array of size <b>cPages</b> containing the CLSIDs of each property page to display in the property sheet.</summary>
			internal unsafe global::System.Guid* lpPages;

			/// <summary>Locale identifier for the property sheet. This value will be returned through <a href="https://docs.microsoft.com/windows/desktop/api/ocidl/nf-ocidl-ipropertypagesite-getlocaleid">IPropertyPageSite::GetLocaleID</a>.</summary>
			internal uint lcid;

			/// <summary>Property that is highlighted when the dialog box is made visible.</summary>
			internal int dispidInitialProperty;
		}
	}
}