File: Windows.Win32.QACONTAINER.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>Specifies container information for IQuickActivate::QuickActivate.</summary>
		/// <remarks>If an interface pointer in the <b>QACONTAINER</b> structure is <b>NULL</b> it does not indicate that the interface is not supported. In this situation, the control should use <a href="https://docs.microsoft.com/windows/desktop/api/unknwn/nf-unknwn-iunknown-queryinterface(q)">QueryInterface</a> to obtain the interface pointer in the standard manner.</remarks>
		[global::System.CodeDom.Compiler.GeneratedCode("Microsoft.Windows.CsWin32", "0.3.151+58e949951d.RR")]
		internal partial struct QACONTAINER
		{
			/// <summary>The size of the structure, in bytes.</summary>
			internal uint cbSize;

			/// <summary>A pointer to an <a href="https://docs.microsoft.com/windows/desktop/api/oleidl/nn-oleidl-ioleclientsite">IOleClientSite</a> interface in the container.</summary>
			internal unsafe winmdroot.System.Ole.IOleClientSite* pClientSite;

			/// <summary>A pointer to an <a href="https://docs.microsoft.com/windows/desktop/api/ocidl/nn-ocidl-iadvisesinkex">IAdviseSinkEx</a> interface in the container.</summary>
			internal unsafe winmdroot.System.Ole.IAdviseSinkEx* pAdviseSink;

			/// <summary>A pointer to an <a href="https://docs.microsoft.com/windows/desktop/api/ocidl/nn-ocidl-ipropertynotifysink">IPropertyNotifySink</a> interface in the container.</summary>
			internal unsafe winmdroot.System.Ole.IPropertyNotifySink* pPropertyNotifySink;

			/// <summary>A pointer to an <a href="https://docs.microsoft.com/windows/desktop/api/unknwn/nn-unknwn-iunknown">IUnknown</a> interface on the container's sink object.</summary>
			internal unsafe winmdroot.System.Com.IUnknown* pUnkEventSink;

			private uint _dwAmbientFlags;

			/// <summary>Specifies ForeColor, an ambient property supplied by the container with a DISPID = -704.</summary>
			internal uint colorFore;

			/// <summary>Specifies BackColor, an ambient property supplied by the container with a DISPID = -701.</summary>
			internal uint colorBack;

			/// <summary>Specifies Font, an ambient property supplied by the container with a DISPID = -703.</summary>
			internal unsafe winmdroot.System.Ole.IFont* pFont;

			/// <summary>A pointer to an <a href="https://docs.microsoft.com/windows/desktop/api/ocidl/nn-ocidl-ioleundomanager">IOleUndoManager</a> interface in the container.</summary>
			internal unsafe winmdroot.System.Ole.IOleUndoManager* pUndoMgr;

			/// <summary>Specifies Appearance, an ambient property supplied by the container with a DISPID = -716.</summary>
			internal uint dwAppearance;

			/// <summary>Specifies LocaleIdentifier, an ambient property supplied by the container with a DISPID = -705.</summary>
			internal int lcid;

			/// <summary>Specifies Palette, an ambient property supplied by the container with a DISPID = -726.</summary>
			internal winmdroot.Graphics.Gdi.HPALETTE hpal;

			/// <summary>A pointer to an <a href="https://docs.microsoft.com/previous-versions/windows/internet-explorer/ie-developer/platform-apis/ms775076(v=vs.85)">IBindHost</a> interface in the container.</summary>
			internal unsafe winmdroot.System.Com.IBindHost* pBindHost;

			/// <summary>A pointer to the <a href="https://docs.microsoft.com/windows/desktop/api/ocidl/nn-ocidl-iolecontrolsite">IOleControlSite</a> interface in the container's site object.</summary>
			internal unsafe winmdroot.System.Ole.IOleControlSite* pOleControlSite;

			/// <summary>A pointer to the <a href="https://docs.microsoft.com/previous-versions/windows/internet-explorer/ie-developer/platform-apis/cc678965(v=vs.85)">IServiceProvider</a> interface in the container.</summary>
			internal unsafe winmdroot.System.Com.IServiceProvider* pServiceProvider;

			internal QACONTAINERFLAGS dwAmbientFlags
			{
				get => (QACONTAINERFLAGS)this._dwAmbientFlags;
				set => this._dwAmbientFlags = (uint)value;
			}
		}
	}
}