File: Windows.Win32.IHTMLImgElement.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 Web.MsHtml
	{
		[Guid("3050F240-98B5-11CF-BB82-00AA00BDCE0B")]
		[global::System.CodeDom.Compiler.GeneratedCode("Microsoft.Windows.CsWin32", "0.3.151+58e949951d.RR")]
		internal unsafe partial struct IHTMLImgElement
			:IVTable<IHTMLImgElement,IHTMLImgElement.Vtbl>,IComIID		{
			/// <inheritdoc cref="QueryInterface(global::System.Guid*, void**)"/>
			internal unsafe winmdroot.Foundation.HRESULT QueryInterface(in global::System.Guid riid, out void* ppvObject)
			{
				fixed (void** ppvObjectLocal = &ppvObject)
				{
					fixed (global::System.Guid* riidLocal = &riid)
					{
						winmdroot.Foundation.HRESULT __result = this.QueryInterface(riidLocal, ppvObjectLocal);
						return __result;
					}
				}
			}

			public unsafe winmdroot.Foundation.HRESULT QueryInterface(global::System.Guid* riid, void** ppvObject)
			{
				return ((delegate *unmanaged [Stdcall]<IHTMLImgElement*,global::System.Guid* ,void** ,winmdroot.Foundation.HRESULT>)lpVtbl[0])((IHTMLImgElement*)Unsafe.AsPointer(ref this), riid, ppvObject);
			}

			public uint AddRef()
			{
				return ((delegate *unmanaged [Stdcall]<IHTMLImgElement*,uint>)lpVtbl[1])((IHTMLImgElement*)Unsafe.AsPointer(ref this));
			}

			public uint Release()
			{
				return ((delegate *unmanaged [Stdcall]<IHTMLImgElement*,uint>)lpVtbl[2])((IHTMLImgElement*)Unsafe.AsPointer(ref this));
			}

			/// <inheritdoc cref="GetTypeInfoCount(uint*)"/>
			internal unsafe void GetTypeInfoCount(out uint pctinfo)
			{
				fixed (uint* pctinfoLocal = &pctinfo)
				{
					this.GetTypeInfoCount(pctinfoLocal);
				}
			}

			public unsafe void GetTypeInfoCount(uint* pctinfo)
			{
				((delegate *unmanaged [Stdcall]<IHTMLImgElement*,uint* ,winmdroot.Foundation.HRESULT>)lpVtbl[3])((IHTMLImgElement*)Unsafe.AsPointer(ref this), pctinfo).ThrowOnFailure();
			}

			public unsafe void GetTypeInfo(uint iTInfo, uint lcid, winmdroot.System.Com.ITypeInfo** ppTInfo)
			{
				((delegate *unmanaged [Stdcall]<IHTMLImgElement*,uint ,uint ,winmdroot.System.Com.ITypeInfo** ,winmdroot.Foundation.HRESULT>)lpVtbl[4])((IHTMLImgElement*)Unsafe.AsPointer(ref this), iTInfo, lcid, ppTInfo).ThrowOnFailure();
			}

			/// <inheritdoc cref="GetIDsOfNames(global::System.Guid*, winmdroot.Foundation.PWSTR*, uint, uint, int*)"/>
			internal unsafe void GetIDsOfNames(in global::System.Guid riid, ReadOnlySpan<winmdroot.Foundation.PWSTR> rgszNames, uint lcid, Span<int> rgDispId)
			{
				fixed (int* rgDispIdLocal = rgDispId)
				{
					fixed (winmdroot.Foundation.PWSTR* rgszNamesLocal = rgszNames)
					{
						fixed (global::System.Guid* riidLocal = &riid)
						{
							if (rgszNames.Length != rgDispId.Length)								throw new ArgumentException();
							this.GetIDsOfNames(riidLocal, rgszNamesLocal, (uint )rgDispId.Length, lcid, rgDispIdLocal);
						}
					}
				}
			}

			public unsafe void GetIDsOfNames(global::System.Guid* riid, winmdroot.Foundation.PWSTR* rgszNames, uint cNames, uint lcid, int* rgDispId)
			{
				((delegate *unmanaged [Stdcall]<IHTMLImgElement*,global::System.Guid* ,winmdroot.Foundation.PWSTR* ,uint ,uint ,int* ,winmdroot.Foundation.HRESULT>)lpVtbl[5])((IHTMLImgElement*)Unsafe.AsPointer(ref this), riid, rgszNames, cNames, lcid, rgDispId).ThrowOnFailure();
			}

			/// <inheritdoc cref="Invoke(int, global::System.Guid*, uint, winmdroot.System.Com.DISPATCH_FLAGS, winmdroot.System.Com.DISPPARAMS*, winmdroot.System.Variant.VARIANT*, winmdroot.System.Com.EXCEPINFO*, uint*)"/>
			internal unsafe void Invoke(int dispIdMember, in global::System.Guid riid, uint lcid, winmdroot.System.Com.DISPATCH_FLAGS wFlags, in winmdroot.System.Com.DISPPARAMS pDispParams, winmdroot.System.Variant.VARIANT* pVarResult, winmdroot.System.Com.EXCEPINFO* pExcepInfo, uint* puArgErr)
			{
				fixed (winmdroot.System.Com.DISPPARAMS* pDispParamsLocal = &pDispParams)
				{
					fixed (global::System.Guid* riidLocal = &riid)
					{
						this.Invoke(dispIdMember, riidLocal, lcid, wFlags, pDispParamsLocal, pVarResult, pExcepInfo, puArgErr);
					}
				}
			}

			public unsafe void Invoke(int dispIdMember, global::System.Guid* riid, uint lcid, winmdroot.System.Com.DISPATCH_FLAGS wFlags, winmdroot.System.Com.DISPPARAMS* pDispParams, [Optional] winmdroot.System.Variant.VARIANT* pVarResult, [Optional] winmdroot.System.Com.EXCEPINFO* pExcepInfo, [Optional] uint* puArgErr)
			{
				((delegate *unmanaged [Stdcall]<IHTMLImgElement*,int ,global::System.Guid* ,uint ,winmdroot.System.Com.DISPATCH_FLAGS ,winmdroot.System.Com.DISPPARAMS* ,winmdroot.System.Variant.VARIANT* ,winmdroot.System.Com.EXCEPINFO* ,uint* ,winmdroot.Foundation.HRESULT>)lpVtbl[6])((IHTMLImgElement*)Unsafe.AsPointer(ref this), dispIdMember, riid, lcid, wFlags, pDispParams, pVarResult, pExcepInfo, puArgErr).ThrowOnFailure();
			}

			[UnmanagedCallersOnly(CallConvs = new []{
typeof(CallConvStdcall)}
)]
			private static winmdroot.Foundation.HRESULT put_isMap(IHTMLImgElement* pThis, winmdroot.Foundation.VARIANT_BOOL v)
			{
				try
				{
					winmdroot.Foundation.HRESULT __hr = ComHelpers.UnwrapCCW(pThis, out Interface __object);
					if (__hr.Failed)
					{
						return __hr;
					}
					__object.isMap = v;
					return winmdroot.Foundation.HRESULT.S_OK;
				}
				catch (Exception ex)
				{
					return (winmdroot.Foundation.HRESULT)ex.HResult;
				}
			}

			internal winmdroot.Foundation.VARIANT_BOOL isMap
			{
				set
				{
					((delegate *unmanaged [Stdcall]<IHTMLImgElement*,winmdroot.Foundation.VARIANT_BOOL ,winmdroot.Foundation.HRESULT>)lpVtbl[7])((IHTMLImgElement*)Unsafe.AsPointer(ref this), value).ThrowOnFailure();
				}
				get
				{
					winmdroot.Foundation.VARIANT_BOOL __result;
					((delegate *unmanaged [Stdcall]<IHTMLImgElement*,winmdroot.Foundation.VARIANT_BOOL* ,winmdroot.Foundation.HRESULT>)lpVtbl[8])((IHTMLImgElement*)Unsafe.AsPointer(ref this), &__result).ThrowOnFailure();
					return __result;
				}
			}

			[UnmanagedCallersOnly(CallConvs = new []{
typeof(CallConvStdcall)}
)]
			private static winmdroot.Foundation.HRESULT get_isMap(IHTMLImgElement* pThis, winmdroot.Foundation.VARIANT_BOOL* p)
			{
				try
				{
					winmdroot.Foundation.HRESULT __hr = ComHelpers.UnwrapCCW(pThis, out Interface __object);
					if (__hr.Failed)
					{
						return __hr;
					}
					*p = __object.isMap;
					return winmdroot.Foundation.HRESULT.S_OK;
				}
				catch (Exception ex)
				{
					return (winmdroot.Foundation.HRESULT)ex.HResult;
				}
			}

			[UnmanagedCallersOnly(CallConvs = new []{
typeof(CallConvStdcall)}
)]
			private static winmdroot.Foundation.HRESULT put_useMap(IHTMLImgElement* pThis, winmdroot.Foundation.BSTR v)
			{
				try
				{
					winmdroot.Foundation.HRESULT __hr = ComHelpers.UnwrapCCW(pThis, out Interface __object);
					if (__hr.Failed)
					{
						return __hr;
					}
					__object.useMap = v;
					return winmdroot.Foundation.HRESULT.S_OK;
				}
				catch (Exception ex)
				{
					return (winmdroot.Foundation.HRESULT)ex.HResult;
				}
			}

			internal winmdroot.Foundation.BSTR useMap
			{
				set
				{
					((delegate *unmanaged [Stdcall]<IHTMLImgElement*,winmdroot.Foundation.BSTR ,winmdroot.Foundation.HRESULT>)lpVtbl[9])((IHTMLImgElement*)Unsafe.AsPointer(ref this), value).ThrowOnFailure();
				}
				get
				{
					winmdroot.Foundation.BSTR __result;
					((delegate *unmanaged [Stdcall]<IHTMLImgElement*,winmdroot.Foundation.BSTR* ,winmdroot.Foundation.HRESULT>)lpVtbl[10])((IHTMLImgElement*)Unsafe.AsPointer(ref this), &__result).ThrowOnFailure();
					return __result;
				}
			}

			[UnmanagedCallersOnly(CallConvs = new []{
typeof(CallConvStdcall)}
)]
			private static winmdroot.Foundation.HRESULT get_useMap(IHTMLImgElement* pThis, winmdroot.Foundation.BSTR* p)
			{
				try
				{
					winmdroot.Foundation.HRESULT __hr = ComHelpers.UnwrapCCW(pThis, out Interface __object);
					if (__hr.Failed)
					{
						return __hr;
					}
					*p = __object.useMap;
					return winmdroot.Foundation.HRESULT.S_OK;
				}
				catch (Exception ex)
				{
					return (winmdroot.Foundation.HRESULT)ex.HResult;
				}
			}

			[UnmanagedCallersOnly(CallConvs = new []{
typeof(CallConvStdcall)}
)]
			private static winmdroot.Foundation.HRESULT get_mimeType(IHTMLImgElement* pThis, winmdroot.Foundation.BSTR* p)
			{
				try
				{
					winmdroot.Foundation.HRESULT __hr = ComHelpers.UnwrapCCW(pThis, out Interface __object);
					if (__hr.Failed)
					{
						return __hr;
					}
					*p = __object.mimeType;
					return winmdroot.Foundation.HRESULT.S_OK;
				}
				catch (Exception ex)
				{
					return (winmdroot.Foundation.HRESULT)ex.HResult;
				}
			}

			internal winmdroot.Foundation.BSTR mimeType
			{
				get
				{
					winmdroot.Foundation.BSTR __result;
					((delegate *unmanaged [Stdcall]<IHTMLImgElement*,winmdroot.Foundation.BSTR* ,winmdroot.Foundation.HRESULT>)lpVtbl[11])((IHTMLImgElement*)Unsafe.AsPointer(ref this), &__result).ThrowOnFailure();
					return __result;
				}
			}

			[UnmanagedCallersOnly(CallConvs = new []{
typeof(CallConvStdcall)}
)]
			private static winmdroot.Foundation.HRESULT get_fileSize(IHTMLImgElement* pThis, winmdroot.Foundation.BSTR* p)
			{
				try
				{
					winmdroot.Foundation.HRESULT __hr = ComHelpers.UnwrapCCW(pThis, out Interface __object);
					if (__hr.Failed)
					{
						return __hr;
					}
					*p = __object.fileSize;
					return winmdroot.Foundation.HRESULT.S_OK;
				}
				catch (Exception ex)
				{
					return (winmdroot.Foundation.HRESULT)ex.HResult;
				}
			}

			internal winmdroot.Foundation.BSTR fileSize
			{
				get
				{
					winmdroot.Foundation.BSTR __result;
					((delegate *unmanaged [Stdcall]<IHTMLImgElement*,winmdroot.Foundation.BSTR* ,winmdroot.Foundation.HRESULT>)lpVtbl[12])((IHTMLImgElement*)Unsafe.AsPointer(ref this), &__result).ThrowOnFailure();
					return __result;
				}
			}

			[UnmanagedCallersOnly(CallConvs = new []{
typeof(CallConvStdcall)}
)]
			private static winmdroot.Foundation.HRESULT get_fileCreatedDate(IHTMLImgElement* pThis, winmdroot.Foundation.BSTR* p)
			{
				try
				{
					winmdroot.Foundation.HRESULT __hr = ComHelpers.UnwrapCCW(pThis, out Interface __object);
					if (__hr.Failed)
					{
						return __hr;
					}
					*p = __object.fileCreatedDate;
					return winmdroot.Foundation.HRESULT.S_OK;
				}
				catch (Exception ex)
				{
					return (winmdroot.Foundation.HRESULT)ex.HResult;
				}
			}

			internal winmdroot.Foundation.BSTR fileCreatedDate
			{
				get
				{
					winmdroot.Foundation.BSTR __result;
					((delegate *unmanaged [Stdcall]<IHTMLImgElement*,winmdroot.Foundation.BSTR* ,winmdroot.Foundation.HRESULT>)lpVtbl[13])((IHTMLImgElement*)Unsafe.AsPointer(ref this), &__result).ThrowOnFailure();
					return __result;
				}
			}

			[UnmanagedCallersOnly(CallConvs = new []{
typeof(CallConvStdcall)}
)]
			private static winmdroot.Foundation.HRESULT get_fileModifiedDate(IHTMLImgElement* pThis, winmdroot.Foundation.BSTR* p)
			{
				try
				{
					winmdroot.Foundation.HRESULT __hr = ComHelpers.UnwrapCCW(pThis, out Interface __object);
					if (__hr.Failed)
					{
						return __hr;
					}
					*p = __object.fileModifiedDate;
					return winmdroot.Foundation.HRESULT.S_OK;
				}
				catch (Exception ex)
				{
					return (winmdroot.Foundation.HRESULT)ex.HResult;
				}
			}

			internal winmdroot.Foundation.BSTR fileModifiedDate
			{
				get
				{
					winmdroot.Foundation.BSTR __result;
					((delegate *unmanaged [Stdcall]<IHTMLImgElement*,winmdroot.Foundation.BSTR* ,winmdroot.Foundation.HRESULT>)lpVtbl[14])((IHTMLImgElement*)Unsafe.AsPointer(ref this), &__result).ThrowOnFailure();
					return __result;
				}
			}

			[UnmanagedCallersOnly(CallConvs = new []{
typeof(CallConvStdcall)}
)]
			private static winmdroot.Foundation.HRESULT get_fileUpdatedDate(IHTMLImgElement* pThis, winmdroot.Foundation.BSTR* p)
			{
				try
				{
					winmdroot.Foundation.HRESULT __hr = ComHelpers.UnwrapCCW(pThis, out Interface __object);
					if (__hr.Failed)
					{
						return __hr;
					}
					*p = __object.fileUpdatedDate;
					return winmdroot.Foundation.HRESULT.S_OK;
				}
				catch (Exception ex)
				{
					return (winmdroot.Foundation.HRESULT)ex.HResult;
				}
			}

			internal winmdroot.Foundation.BSTR fileUpdatedDate
			{
				get
				{
					winmdroot.Foundation.BSTR __result;
					((delegate *unmanaged [Stdcall]<IHTMLImgElement*,winmdroot.Foundation.BSTR* ,winmdroot.Foundation.HRESULT>)lpVtbl[15])((IHTMLImgElement*)Unsafe.AsPointer(ref this), &__result).ThrowOnFailure();
					return __result;
				}
			}

			[UnmanagedCallersOnly(CallConvs = new []{
typeof(CallConvStdcall)}
)]
			private static winmdroot.Foundation.HRESULT get_protocol(IHTMLImgElement* pThis, winmdroot.Foundation.BSTR* p)
			{
				try
				{
					winmdroot.Foundation.HRESULT __hr = ComHelpers.UnwrapCCW(pThis, out Interface __object);
					if (__hr.Failed)
					{
						return __hr;
					}
					*p = __object.protocol;
					return winmdroot.Foundation.HRESULT.S_OK;
				}
				catch (Exception ex)
				{
					return (winmdroot.Foundation.HRESULT)ex.HResult;
				}
			}

			internal winmdroot.Foundation.BSTR protocol
			{
				get
				{
					winmdroot.Foundation.BSTR __result;
					((delegate *unmanaged [Stdcall]<IHTMLImgElement*,winmdroot.Foundation.BSTR* ,winmdroot.Foundation.HRESULT>)lpVtbl[16])((IHTMLImgElement*)Unsafe.AsPointer(ref this), &__result).ThrowOnFailure();
					return __result;
				}
			}

			[UnmanagedCallersOnly(CallConvs = new []{
typeof(CallConvStdcall)}
)]
			private static winmdroot.Foundation.HRESULT get_href(IHTMLImgElement* pThis, winmdroot.Foundation.BSTR* p)
			{
				try
				{
					winmdroot.Foundation.HRESULT __hr = ComHelpers.UnwrapCCW(pThis, out Interface __object);
					if (__hr.Failed)
					{
						return __hr;
					}
					*p = __object.href;
					return winmdroot.Foundation.HRESULT.S_OK;
				}
				catch (Exception ex)
				{
					return (winmdroot.Foundation.HRESULT)ex.HResult;
				}
			}

			internal winmdroot.Foundation.BSTR href
			{
				get
				{
					winmdroot.Foundation.BSTR __result;
					((delegate *unmanaged [Stdcall]<IHTMLImgElement*,winmdroot.Foundation.BSTR* ,winmdroot.Foundation.HRESULT>)lpVtbl[17])((IHTMLImgElement*)Unsafe.AsPointer(ref this), &__result).ThrowOnFailure();
					return __result;
				}
			}

			[UnmanagedCallersOnly(CallConvs = new []{
typeof(CallConvStdcall)}
)]
			private static winmdroot.Foundation.HRESULT get_nameProp(IHTMLImgElement* pThis, winmdroot.Foundation.BSTR* p)
			{
				try
				{
					winmdroot.Foundation.HRESULT __hr = ComHelpers.UnwrapCCW(pThis, out Interface __object);
					if (__hr.Failed)
					{
						return __hr;
					}
					*p = __object.nameProp;
					return winmdroot.Foundation.HRESULT.S_OK;
				}
				catch (Exception ex)
				{
					return (winmdroot.Foundation.HRESULT)ex.HResult;
				}
			}

			internal winmdroot.Foundation.BSTR nameProp
			{
				get
				{
					winmdroot.Foundation.BSTR __result;
					((delegate *unmanaged [Stdcall]<IHTMLImgElement*,winmdroot.Foundation.BSTR* ,winmdroot.Foundation.HRESULT>)lpVtbl[18])((IHTMLImgElement*)Unsafe.AsPointer(ref this), &__result).ThrowOnFailure();
					return __result;
				}
			}

			[UnmanagedCallersOnly(CallConvs = new []{
typeof(CallConvStdcall)}
)]
			private static winmdroot.Foundation.HRESULT put_border(IHTMLImgElement* pThis, winmdroot.System.Variant.VARIANT v)
			{
				try
				{
					winmdroot.Foundation.HRESULT __hr = ComHelpers.UnwrapCCW(pThis, out Interface __object);
					if (__hr.Failed)
					{
						return __hr;
					}
					__object.border = v;
					return winmdroot.Foundation.HRESULT.S_OK;
				}
				catch (Exception ex)
				{
					return (winmdroot.Foundation.HRESULT)ex.HResult;
				}
			}

			internal winmdroot.System.Variant.VARIANT border
			{
				set
				{
					((delegate *unmanaged [Stdcall]<IHTMLImgElement*,winmdroot.System.Variant.VARIANT ,winmdroot.Foundation.HRESULT>)lpVtbl[19])((IHTMLImgElement*)Unsafe.AsPointer(ref this), value).ThrowOnFailure();
				}
				get
				{
					winmdroot.System.Variant.VARIANT __result;
					((delegate *unmanaged [Stdcall]<IHTMLImgElement*,winmdroot.System.Variant.VARIANT* ,winmdroot.Foundation.HRESULT>)lpVtbl[20])((IHTMLImgElement*)Unsafe.AsPointer(ref this), &__result).ThrowOnFailure();
					return __result;
				}
			}

			[UnmanagedCallersOnly(CallConvs = new []{
typeof(CallConvStdcall)}
)]
			private static winmdroot.Foundation.HRESULT get_border(IHTMLImgElement* pThis, winmdroot.System.Variant.VARIANT* p)
			{
				try
				{
					winmdroot.Foundation.HRESULT __hr = ComHelpers.UnwrapCCW(pThis, out Interface __object);
					if (__hr.Failed)
					{
						return __hr;
					}
					*p = __object.border;
					return winmdroot.Foundation.HRESULT.S_OK;
				}
				catch (Exception ex)
				{
					return (winmdroot.Foundation.HRESULT)ex.HResult;
				}
			}

			[UnmanagedCallersOnly(CallConvs = new []{
typeof(CallConvStdcall)}
)]
			private static winmdroot.Foundation.HRESULT put_vspace(IHTMLImgElement* pThis, int v)
			{
				try
				{
					winmdroot.Foundation.HRESULT __hr = ComHelpers.UnwrapCCW(pThis, out Interface __object);
					if (__hr.Failed)
					{
						return __hr;
					}
					__object.vspace = v;
					return winmdroot.Foundation.HRESULT.S_OK;
				}
				catch (Exception ex)
				{
					return (winmdroot.Foundation.HRESULT)ex.HResult;
				}
			}

			internal int vspace
			{
				set
				{
					((delegate *unmanaged [Stdcall]<IHTMLImgElement*,int ,winmdroot.Foundation.HRESULT>)lpVtbl[21])((IHTMLImgElement*)Unsafe.AsPointer(ref this), value).ThrowOnFailure();
				}
				get
				{
					int __result;
					((delegate *unmanaged [Stdcall]<IHTMLImgElement*,int* ,winmdroot.Foundation.HRESULT>)lpVtbl[22])((IHTMLImgElement*)Unsafe.AsPointer(ref this), &__result).ThrowOnFailure();
					return __result;
				}
			}

			[UnmanagedCallersOnly(CallConvs = new []{
typeof(CallConvStdcall)}
)]
			private static winmdroot.Foundation.HRESULT get_vspace(IHTMLImgElement* pThis, int* p)
			{
				try
				{
					winmdroot.Foundation.HRESULT __hr = ComHelpers.UnwrapCCW(pThis, out Interface __object);
					if (__hr.Failed)
					{
						return __hr;
					}
					*p = __object.vspace;
					return winmdroot.Foundation.HRESULT.S_OK;
				}
				catch (Exception ex)
				{
					return (winmdroot.Foundation.HRESULT)ex.HResult;
				}
			}

			[UnmanagedCallersOnly(CallConvs = new []{
typeof(CallConvStdcall)}
)]
			private static winmdroot.Foundation.HRESULT put_hspace(IHTMLImgElement* pThis, int v)
			{
				try
				{
					winmdroot.Foundation.HRESULT __hr = ComHelpers.UnwrapCCW(pThis, out Interface __object);
					if (__hr.Failed)
					{
						return __hr;
					}
					__object.hspace = v;
					return winmdroot.Foundation.HRESULT.S_OK;
				}
				catch (Exception ex)
				{
					return (winmdroot.Foundation.HRESULT)ex.HResult;
				}
			}

			internal int hspace
			{
				set
				{
					((delegate *unmanaged [Stdcall]<IHTMLImgElement*,int ,winmdroot.Foundation.HRESULT>)lpVtbl[23])((IHTMLImgElement*)Unsafe.AsPointer(ref this), value).ThrowOnFailure();
				}
				get
				{
					int __result;
					((delegate *unmanaged [Stdcall]<IHTMLImgElement*,int* ,winmdroot.Foundation.HRESULT>)lpVtbl[24])((IHTMLImgElement*)Unsafe.AsPointer(ref this), &__result).ThrowOnFailure();
					return __result;
				}
			}

			[UnmanagedCallersOnly(CallConvs = new []{
typeof(CallConvStdcall)}
)]
			private static winmdroot.Foundation.HRESULT get_hspace(IHTMLImgElement* pThis, int* p)
			{
				try
				{
					winmdroot.Foundation.HRESULT __hr = ComHelpers.UnwrapCCW(pThis, out Interface __object);
					if (__hr.Failed)
					{
						return __hr;
					}
					*p = __object.hspace;
					return winmdroot.Foundation.HRESULT.S_OK;
				}
				catch (Exception ex)
				{
					return (winmdroot.Foundation.HRESULT)ex.HResult;
				}
			}

			[UnmanagedCallersOnly(CallConvs = new []{
typeof(CallConvStdcall)}
)]
			private static winmdroot.Foundation.HRESULT put_alt(IHTMLImgElement* pThis, winmdroot.Foundation.BSTR v)
			{
				try
				{
					winmdroot.Foundation.HRESULT __hr = ComHelpers.UnwrapCCW(pThis, out Interface __object);
					if (__hr.Failed)
					{
						return __hr;
					}
					__object.alt = v;
					return winmdroot.Foundation.HRESULT.S_OK;
				}
				catch (Exception ex)
				{
					return (winmdroot.Foundation.HRESULT)ex.HResult;
				}
			}

			internal winmdroot.Foundation.BSTR alt
			{
				set
				{
					((delegate *unmanaged [Stdcall]<IHTMLImgElement*,winmdroot.Foundation.BSTR ,winmdroot.Foundation.HRESULT>)lpVtbl[25])((IHTMLImgElement*)Unsafe.AsPointer(ref this), value).ThrowOnFailure();
				}
				get
				{
					winmdroot.Foundation.BSTR __result;
					((delegate *unmanaged [Stdcall]<IHTMLImgElement*,winmdroot.Foundation.BSTR* ,winmdroot.Foundation.HRESULT>)lpVtbl[26])((IHTMLImgElement*)Unsafe.AsPointer(ref this), &__result).ThrowOnFailure();
					return __result;
				}
			}

			[UnmanagedCallersOnly(CallConvs = new []{
typeof(CallConvStdcall)}
)]
			private static winmdroot.Foundation.HRESULT get_alt(IHTMLImgElement* pThis, winmdroot.Foundation.BSTR* p)
			{
				try
				{
					winmdroot.Foundation.HRESULT __hr = ComHelpers.UnwrapCCW(pThis, out Interface __object);
					if (__hr.Failed)
					{
						return __hr;
					}
					*p = __object.alt;
					return winmdroot.Foundation.HRESULT.S_OK;
				}
				catch (Exception ex)
				{
					return (winmdroot.Foundation.HRESULT)ex.HResult;
				}
			}

			[UnmanagedCallersOnly(CallConvs = new []{
typeof(CallConvStdcall)}
)]
			private static winmdroot.Foundation.HRESULT put_src(IHTMLImgElement* pThis, winmdroot.Foundation.BSTR v)
			{
				try
				{
					winmdroot.Foundation.HRESULT __hr = ComHelpers.UnwrapCCW(pThis, out Interface __object);
					if (__hr.Failed)
					{
						return __hr;
					}
					__object.src = v;
					return winmdroot.Foundation.HRESULT.S_OK;
				}
				catch (Exception ex)
				{
					return (winmdroot.Foundation.HRESULT)ex.HResult;
				}
			}

			internal winmdroot.Foundation.BSTR src
			{
				set
				{
					((delegate *unmanaged [Stdcall]<IHTMLImgElement*,winmdroot.Foundation.BSTR ,winmdroot.Foundation.HRESULT>)lpVtbl[27])((IHTMLImgElement*)Unsafe.AsPointer(ref this), value).ThrowOnFailure();
				}
				get
				{
					winmdroot.Foundation.BSTR __result;
					((delegate *unmanaged [Stdcall]<IHTMLImgElement*,winmdroot.Foundation.BSTR* ,winmdroot.Foundation.HRESULT>)lpVtbl[28])((IHTMLImgElement*)Unsafe.AsPointer(ref this), &__result).ThrowOnFailure();
					return __result;
				}
			}

			[UnmanagedCallersOnly(CallConvs = new []{
typeof(CallConvStdcall)}
)]
			private static winmdroot.Foundation.HRESULT get_src(IHTMLImgElement* pThis, winmdroot.Foundation.BSTR* p)
			{
				try
				{
					winmdroot.Foundation.HRESULT __hr = ComHelpers.UnwrapCCW(pThis, out Interface __object);
					if (__hr.Failed)
					{
						return __hr;
					}
					*p = __object.src;
					return winmdroot.Foundation.HRESULT.S_OK;
				}
				catch (Exception ex)
				{
					return (winmdroot.Foundation.HRESULT)ex.HResult;
				}
			}

			[UnmanagedCallersOnly(CallConvs = new []{
typeof(CallConvStdcall)}
)]
			private static winmdroot.Foundation.HRESULT put_lowsrc(IHTMLImgElement* pThis, winmdroot.Foundation.BSTR v)
			{
				try
				{
					winmdroot.Foundation.HRESULT __hr = ComHelpers.UnwrapCCW(pThis, out Interface __object);
					if (__hr.Failed)
					{
						return __hr;
					}
					__object.lowsrc = v;
					return winmdroot.Foundation.HRESULT.S_OK;
				}
				catch (Exception ex)
				{
					return (winmdroot.Foundation.HRESULT)ex.HResult;
				}
			}

			internal winmdroot.Foundation.BSTR lowsrc
			{
				set
				{
					((delegate *unmanaged [Stdcall]<IHTMLImgElement*,winmdroot.Foundation.BSTR ,winmdroot.Foundation.HRESULT>)lpVtbl[29])((IHTMLImgElement*)Unsafe.AsPointer(ref this), value).ThrowOnFailure();
				}
				get
				{
					winmdroot.Foundation.BSTR __result;
					((delegate *unmanaged [Stdcall]<IHTMLImgElement*,winmdroot.Foundation.BSTR* ,winmdroot.Foundation.HRESULT>)lpVtbl[30])((IHTMLImgElement*)Unsafe.AsPointer(ref this), &__result).ThrowOnFailure();
					return __result;
				}
			}

			[UnmanagedCallersOnly(CallConvs = new []{
typeof(CallConvStdcall)}
)]
			private static winmdroot.Foundation.HRESULT get_lowsrc(IHTMLImgElement* pThis, winmdroot.Foundation.BSTR* p)
			{
				try
				{
					winmdroot.Foundation.HRESULT __hr = ComHelpers.UnwrapCCW(pThis, out Interface __object);
					if (__hr.Failed)
					{
						return __hr;
					}
					*p = __object.lowsrc;
					return winmdroot.Foundation.HRESULT.S_OK;
				}
				catch (Exception ex)
				{
					return (winmdroot.Foundation.HRESULT)ex.HResult;
				}
			}

			[UnmanagedCallersOnly(CallConvs = new []{
typeof(CallConvStdcall)}
)]
			private static winmdroot.Foundation.HRESULT put_vrml(IHTMLImgElement* pThis, winmdroot.Foundation.BSTR v)
			{
				try
				{
					winmdroot.Foundation.HRESULT __hr = ComHelpers.UnwrapCCW(pThis, out Interface __object);
					if (__hr.Failed)
					{
						return __hr;
					}
					__object.vrml = v;
					return winmdroot.Foundation.HRESULT.S_OK;
				}
				catch (Exception ex)
				{
					return (winmdroot.Foundation.HRESULT)ex.HResult;
				}
			}

			internal winmdroot.Foundation.BSTR vrml
			{
				set
				{
					((delegate *unmanaged [Stdcall]<IHTMLImgElement*,winmdroot.Foundation.BSTR ,winmdroot.Foundation.HRESULT>)lpVtbl[31])((IHTMLImgElement*)Unsafe.AsPointer(ref this), value).ThrowOnFailure();
				}
				get
				{
					winmdroot.Foundation.BSTR __result;
					((delegate *unmanaged [Stdcall]<IHTMLImgElement*,winmdroot.Foundation.BSTR* ,winmdroot.Foundation.HRESULT>)lpVtbl[32])((IHTMLImgElement*)Unsafe.AsPointer(ref this), &__result).ThrowOnFailure();
					return __result;
				}
			}

			[UnmanagedCallersOnly(CallConvs = new []{
typeof(CallConvStdcall)}
)]
			private static winmdroot.Foundation.HRESULT get_vrml(IHTMLImgElement* pThis, winmdroot.Foundation.BSTR* p)
			{
				try
				{
					winmdroot.Foundation.HRESULT __hr = ComHelpers.UnwrapCCW(pThis, out Interface __object);
					if (__hr.Failed)
					{
						return __hr;
					}
					*p = __object.vrml;
					return winmdroot.Foundation.HRESULT.S_OK;
				}
				catch (Exception ex)
				{
					return (winmdroot.Foundation.HRESULT)ex.HResult;
				}
			}

			[UnmanagedCallersOnly(CallConvs = new []{
typeof(CallConvStdcall)}
)]
			private static winmdroot.Foundation.HRESULT put_dynsrc(IHTMLImgElement* pThis, winmdroot.Foundation.BSTR v)
			{
				try
				{
					winmdroot.Foundation.HRESULT __hr = ComHelpers.UnwrapCCW(pThis, out Interface __object);
					if (__hr.Failed)
					{
						return __hr;
					}
					__object.dynsrc = v;
					return winmdroot.Foundation.HRESULT.S_OK;
				}
				catch (Exception ex)
				{
					return (winmdroot.Foundation.HRESULT)ex.HResult;
				}
			}

			internal winmdroot.Foundation.BSTR dynsrc
			{
				set
				{
					((delegate *unmanaged [Stdcall]<IHTMLImgElement*,winmdroot.Foundation.BSTR ,winmdroot.Foundation.HRESULT>)lpVtbl[33])((IHTMLImgElement*)Unsafe.AsPointer(ref this), value).ThrowOnFailure();
				}
				get
				{
					winmdroot.Foundation.BSTR __result;
					((delegate *unmanaged [Stdcall]<IHTMLImgElement*,winmdroot.Foundation.BSTR* ,winmdroot.Foundation.HRESULT>)lpVtbl[34])((IHTMLImgElement*)Unsafe.AsPointer(ref this), &__result).ThrowOnFailure();
					return __result;
				}
			}

			[UnmanagedCallersOnly(CallConvs = new []{
typeof(CallConvStdcall)}
)]
			private static winmdroot.Foundation.HRESULT get_dynsrc(IHTMLImgElement* pThis, winmdroot.Foundation.BSTR* p)
			{
				try
				{
					winmdroot.Foundation.HRESULT __hr = ComHelpers.UnwrapCCW(pThis, out Interface __object);
					if (__hr.Failed)
					{
						return __hr;
					}
					*p = __object.dynsrc;
					return winmdroot.Foundation.HRESULT.S_OK;
				}
				catch (Exception ex)
				{
					return (winmdroot.Foundation.HRESULT)ex.HResult;
				}
			}

			[UnmanagedCallersOnly(CallConvs = new []{
typeof(CallConvStdcall)}
)]
			private static winmdroot.Foundation.HRESULT get_readyState(IHTMLImgElement* pThis, winmdroot.Foundation.BSTR* p)
			{
				try
				{
					winmdroot.Foundation.HRESULT __hr = ComHelpers.UnwrapCCW(pThis, out Interface __object);
					if (__hr.Failed)
					{
						return __hr;
					}
					*p = __object.readyState;
					return winmdroot.Foundation.HRESULT.S_OK;
				}
				catch (Exception ex)
				{
					return (winmdroot.Foundation.HRESULT)ex.HResult;
				}
			}

			internal winmdroot.Foundation.BSTR readyState
			{
				get
				{
					winmdroot.Foundation.BSTR __result;
					((delegate *unmanaged [Stdcall]<IHTMLImgElement*,winmdroot.Foundation.BSTR* ,winmdroot.Foundation.HRESULT>)lpVtbl[35])((IHTMLImgElement*)Unsafe.AsPointer(ref this), &__result).ThrowOnFailure();
					return __result;
				}
			}

			[UnmanagedCallersOnly(CallConvs = new []{
typeof(CallConvStdcall)}
)]
			private static winmdroot.Foundation.HRESULT get_complete(IHTMLImgElement* pThis, winmdroot.Foundation.VARIANT_BOOL* p)
			{
				try
				{
					winmdroot.Foundation.HRESULT __hr = ComHelpers.UnwrapCCW(pThis, out Interface __object);
					if (__hr.Failed)
					{
						return __hr;
					}
					*p = __object.complete;
					return winmdroot.Foundation.HRESULT.S_OK;
				}
				catch (Exception ex)
				{
					return (winmdroot.Foundation.HRESULT)ex.HResult;
				}
			}

			internal winmdroot.Foundation.VARIANT_BOOL complete
			{
				get
				{
					winmdroot.Foundation.VARIANT_BOOL __result;
					((delegate *unmanaged [Stdcall]<IHTMLImgElement*,winmdroot.Foundation.VARIANT_BOOL* ,winmdroot.Foundation.HRESULT>)lpVtbl[36])((IHTMLImgElement*)Unsafe.AsPointer(ref this), &__result).ThrowOnFailure();
					return __result;
				}
			}

			[UnmanagedCallersOnly(CallConvs = new []{
typeof(CallConvStdcall)}
)]
			private static winmdroot.Foundation.HRESULT put_loop(IHTMLImgElement* pThis, winmdroot.System.Variant.VARIANT v)
			{
				try
				{
					winmdroot.Foundation.HRESULT __hr = ComHelpers.UnwrapCCW(pThis, out Interface __object);
					if (__hr.Failed)
					{
						return __hr;
					}
					__object.loop = v;
					return winmdroot.Foundation.HRESULT.S_OK;
				}
				catch (Exception ex)
				{
					return (winmdroot.Foundation.HRESULT)ex.HResult;
				}
			}

			internal winmdroot.System.Variant.VARIANT loop
			{
				set
				{
					((delegate *unmanaged [Stdcall]<IHTMLImgElement*,winmdroot.System.Variant.VARIANT ,winmdroot.Foundation.HRESULT>)lpVtbl[37])((IHTMLImgElement*)Unsafe.AsPointer(ref this), value).ThrowOnFailure();
				}
				get
				{
					winmdroot.System.Variant.VARIANT __result;
					((delegate *unmanaged [Stdcall]<IHTMLImgElement*,winmdroot.System.Variant.VARIANT* ,winmdroot.Foundation.HRESULT>)lpVtbl[38])((IHTMLImgElement*)Unsafe.AsPointer(ref this), &__result).ThrowOnFailure();
					return __result;
				}
			}

			[UnmanagedCallersOnly(CallConvs = new []{
typeof(CallConvStdcall)}
)]
			private static winmdroot.Foundation.HRESULT get_loop(IHTMLImgElement* pThis, winmdroot.System.Variant.VARIANT* p)
			{
				try
				{
					winmdroot.Foundation.HRESULT __hr = ComHelpers.UnwrapCCW(pThis, out Interface __object);
					if (__hr.Failed)
					{
						return __hr;
					}
					*p = __object.loop;
					return winmdroot.Foundation.HRESULT.S_OK;
				}
				catch (Exception ex)
				{
					return (winmdroot.Foundation.HRESULT)ex.HResult;
				}
			}

			[UnmanagedCallersOnly(CallConvs = new []{
typeof(CallConvStdcall)}
)]
			private static winmdroot.Foundation.HRESULT put_align(IHTMLImgElement* pThis, winmdroot.Foundation.BSTR v)
			{
				try
				{
					winmdroot.Foundation.HRESULT __hr = ComHelpers.UnwrapCCW(pThis, out Interface __object);
					if (__hr.Failed)
					{
						return __hr;
					}
					__object.align = v;
					return winmdroot.Foundation.HRESULT.S_OK;
				}
				catch (Exception ex)
				{
					return (winmdroot.Foundation.HRESULT)ex.HResult;
				}
			}

			internal winmdroot.Foundation.BSTR align
			{
				set
				{
					((delegate *unmanaged [Stdcall]<IHTMLImgElement*,winmdroot.Foundation.BSTR ,winmdroot.Foundation.HRESULT>)lpVtbl[39])((IHTMLImgElement*)Unsafe.AsPointer(ref this), value).ThrowOnFailure();
				}
				get
				{
					winmdroot.Foundation.BSTR __result;
					((delegate *unmanaged [Stdcall]<IHTMLImgElement*,winmdroot.Foundation.BSTR* ,winmdroot.Foundation.HRESULT>)lpVtbl[40])((IHTMLImgElement*)Unsafe.AsPointer(ref this), &__result).ThrowOnFailure();
					return __result;
				}
			}

			[UnmanagedCallersOnly(CallConvs = new []{
typeof(CallConvStdcall)}
)]
			private static winmdroot.Foundation.HRESULT get_align(IHTMLImgElement* pThis, winmdroot.Foundation.BSTR* p)
			{
				try
				{
					winmdroot.Foundation.HRESULT __hr = ComHelpers.UnwrapCCW(pThis, out Interface __object);
					if (__hr.Failed)
					{
						return __hr;
					}
					*p = __object.align;
					return winmdroot.Foundation.HRESULT.S_OK;
				}
				catch (Exception ex)
				{
					return (winmdroot.Foundation.HRESULT)ex.HResult;
				}
			}

			[UnmanagedCallersOnly(CallConvs = new []{
typeof(CallConvStdcall)}
)]
			private static winmdroot.Foundation.HRESULT put_onload(IHTMLImgElement* pThis, winmdroot.System.Variant.VARIANT v)
			{
				try
				{
					winmdroot.Foundation.HRESULT __hr = ComHelpers.UnwrapCCW(pThis, out Interface __object);
					if (__hr.Failed)
					{
						return __hr;
					}
					__object.onload = v;
					return winmdroot.Foundation.HRESULT.S_OK;
				}
				catch (Exception ex)
				{
					return (winmdroot.Foundation.HRESULT)ex.HResult;
				}
			}

			internal winmdroot.System.Variant.VARIANT onload
			{
				set
				{
					((delegate *unmanaged [Stdcall]<IHTMLImgElement*,winmdroot.System.Variant.VARIANT ,winmdroot.Foundation.HRESULT>)lpVtbl[41])((IHTMLImgElement*)Unsafe.AsPointer(ref this), value).ThrowOnFailure();
				}
				get
				{
					winmdroot.System.Variant.VARIANT __result;
					((delegate *unmanaged [Stdcall]<IHTMLImgElement*,winmdroot.System.Variant.VARIANT* ,winmdroot.Foundation.HRESULT>)lpVtbl[42])((IHTMLImgElement*)Unsafe.AsPointer(ref this), &__result).ThrowOnFailure();
					return __result;
				}
			}

			[UnmanagedCallersOnly(CallConvs = new []{
typeof(CallConvStdcall)}
)]
			private static winmdroot.Foundation.HRESULT get_onload(IHTMLImgElement* pThis, winmdroot.System.Variant.VARIANT* p)
			{
				try
				{
					winmdroot.Foundation.HRESULT __hr = ComHelpers.UnwrapCCW(pThis, out Interface __object);
					if (__hr.Failed)
					{
						return __hr;
					}
					*p = __object.onload;
					return winmdroot.Foundation.HRESULT.S_OK;
				}
				catch (Exception ex)
				{
					return (winmdroot.Foundation.HRESULT)ex.HResult;
				}
			}

			[UnmanagedCallersOnly(CallConvs = new []{
typeof(CallConvStdcall)}
)]
			private static winmdroot.Foundation.HRESULT put_onerror(IHTMLImgElement* pThis, winmdroot.System.Variant.VARIANT v)
			{
				try
				{
					winmdroot.Foundation.HRESULT __hr = ComHelpers.UnwrapCCW(pThis, out Interface __object);
					if (__hr.Failed)
					{
						return __hr;
					}
					__object.onerror = v;
					return winmdroot.Foundation.HRESULT.S_OK;
				}
				catch (Exception ex)
				{
					return (winmdroot.Foundation.HRESULT)ex.HResult;
				}
			}

			internal winmdroot.System.Variant.VARIANT onerror
			{
				set
				{
					((delegate *unmanaged [Stdcall]<IHTMLImgElement*,winmdroot.System.Variant.VARIANT ,winmdroot.Foundation.HRESULT>)lpVtbl[43])((IHTMLImgElement*)Unsafe.AsPointer(ref this), value).ThrowOnFailure();
				}
				get
				{
					winmdroot.System.Variant.VARIANT __result;
					((delegate *unmanaged [Stdcall]<IHTMLImgElement*,winmdroot.System.Variant.VARIANT* ,winmdroot.Foundation.HRESULT>)lpVtbl[44])((IHTMLImgElement*)Unsafe.AsPointer(ref this), &__result).ThrowOnFailure();
					return __result;
				}
			}

			[UnmanagedCallersOnly(CallConvs = new []{
typeof(CallConvStdcall)}
)]
			private static winmdroot.Foundation.HRESULT get_onerror(IHTMLImgElement* pThis, winmdroot.System.Variant.VARIANT* p)
			{
				try
				{
					winmdroot.Foundation.HRESULT __hr = ComHelpers.UnwrapCCW(pThis, out Interface __object);
					if (__hr.Failed)
					{
						return __hr;
					}
					*p = __object.onerror;
					return winmdroot.Foundation.HRESULT.S_OK;
				}
				catch (Exception ex)
				{
					return (winmdroot.Foundation.HRESULT)ex.HResult;
				}
			}

			[UnmanagedCallersOnly(CallConvs = new []{
typeof(CallConvStdcall)}
)]
			private static winmdroot.Foundation.HRESULT put_onabort(IHTMLImgElement* pThis, winmdroot.System.Variant.VARIANT v)
			{
				try
				{
					winmdroot.Foundation.HRESULT __hr = ComHelpers.UnwrapCCW(pThis, out Interface __object);
					if (__hr.Failed)
					{
						return __hr;
					}
					__object.onabort = v;
					return winmdroot.Foundation.HRESULT.S_OK;
				}
				catch (Exception ex)
				{
					return (winmdroot.Foundation.HRESULT)ex.HResult;
				}
			}

			internal winmdroot.System.Variant.VARIANT onabort
			{
				set
				{
					((delegate *unmanaged [Stdcall]<IHTMLImgElement*,winmdroot.System.Variant.VARIANT ,winmdroot.Foundation.HRESULT>)lpVtbl[45])((IHTMLImgElement*)Unsafe.AsPointer(ref this), value).ThrowOnFailure();
				}
				get
				{
					winmdroot.System.Variant.VARIANT __result;
					((delegate *unmanaged [Stdcall]<IHTMLImgElement*,winmdroot.System.Variant.VARIANT* ,winmdroot.Foundation.HRESULT>)lpVtbl[46])((IHTMLImgElement*)Unsafe.AsPointer(ref this), &__result).ThrowOnFailure();
					return __result;
				}
			}

			[UnmanagedCallersOnly(CallConvs = new []{
typeof(CallConvStdcall)}
)]
			private static winmdroot.Foundation.HRESULT get_onabort(IHTMLImgElement* pThis, winmdroot.System.Variant.VARIANT* p)
			{
				try
				{
					winmdroot.Foundation.HRESULT __hr = ComHelpers.UnwrapCCW(pThis, out Interface __object);
					if (__hr.Failed)
					{
						return __hr;
					}
					*p = __object.onabort;
					return winmdroot.Foundation.HRESULT.S_OK;
				}
				catch (Exception ex)
				{
					return (winmdroot.Foundation.HRESULT)ex.HResult;
				}
			}

			[UnmanagedCallersOnly(CallConvs = new []{
typeof(CallConvStdcall)}
)]
			private static winmdroot.Foundation.HRESULT put_name(IHTMLImgElement* pThis, winmdroot.Foundation.BSTR v)
			{
				try
				{
					winmdroot.Foundation.HRESULT __hr = ComHelpers.UnwrapCCW(pThis, out Interface __object);
					if (__hr.Failed)
					{
						return __hr;
					}
					__object.name = v;
					return winmdroot.Foundation.HRESULT.S_OK;
				}
				catch (Exception ex)
				{
					return (winmdroot.Foundation.HRESULT)ex.HResult;
				}
			}

			internal winmdroot.Foundation.BSTR name
			{
				set
				{
					((delegate *unmanaged [Stdcall]<IHTMLImgElement*,winmdroot.Foundation.BSTR ,winmdroot.Foundation.HRESULT>)lpVtbl[47])((IHTMLImgElement*)Unsafe.AsPointer(ref this), value).ThrowOnFailure();
				}
				get
				{
					winmdroot.Foundation.BSTR __result;
					((delegate *unmanaged [Stdcall]<IHTMLImgElement*,winmdroot.Foundation.BSTR* ,winmdroot.Foundation.HRESULT>)lpVtbl[48])((IHTMLImgElement*)Unsafe.AsPointer(ref this), &__result).ThrowOnFailure();
					return __result;
				}
			}

			[UnmanagedCallersOnly(CallConvs = new []{
typeof(CallConvStdcall)}
)]
			private static winmdroot.Foundation.HRESULT get_name(IHTMLImgElement* pThis, winmdroot.Foundation.BSTR* p)
			{
				try
				{
					winmdroot.Foundation.HRESULT __hr = ComHelpers.UnwrapCCW(pThis, out Interface __object);
					if (__hr.Failed)
					{
						return __hr;
					}
					*p = __object.name;
					return winmdroot.Foundation.HRESULT.S_OK;
				}
				catch (Exception ex)
				{
					return (winmdroot.Foundation.HRESULT)ex.HResult;
				}
			}

			[UnmanagedCallersOnly(CallConvs = new []{
typeof(CallConvStdcall)}
)]
			private static winmdroot.Foundation.HRESULT put_width(IHTMLImgElement* pThis, int v)
			{
				try
				{
					winmdroot.Foundation.HRESULT __hr = ComHelpers.UnwrapCCW(pThis, out Interface __object);
					if (__hr.Failed)
					{
						return __hr;
					}
					__object.width = v;
					return winmdroot.Foundation.HRESULT.S_OK;
				}
				catch (Exception ex)
				{
					return (winmdroot.Foundation.HRESULT)ex.HResult;
				}
			}

			internal int width
			{
				set
				{
					((delegate *unmanaged [Stdcall]<IHTMLImgElement*,int ,winmdroot.Foundation.HRESULT>)lpVtbl[49])((IHTMLImgElement*)Unsafe.AsPointer(ref this), value).ThrowOnFailure();
				}
				get
				{
					int __result;
					((delegate *unmanaged [Stdcall]<IHTMLImgElement*,int* ,winmdroot.Foundation.HRESULT>)lpVtbl[50])((IHTMLImgElement*)Unsafe.AsPointer(ref this), &__result).ThrowOnFailure();
					return __result;
				}
			}

			[UnmanagedCallersOnly(CallConvs = new []{
typeof(CallConvStdcall)}
)]
			private static winmdroot.Foundation.HRESULT get_width(IHTMLImgElement* pThis, int* p)
			{
				try
				{
					winmdroot.Foundation.HRESULT __hr = ComHelpers.UnwrapCCW(pThis, out Interface __object);
					if (__hr.Failed)
					{
						return __hr;
					}
					*p = __object.width;
					return winmdroot.Foundation.HRESULT.S_OK;
				}
				catch (Exception ex)
				{
					return (winmdroot.Foundation.HRESULT)ex.HResult;
				}
			}

			[UnmanagedCallersOnly(CallConvs = new []{
typeof(CallConvStdcall)}
)]
			private static winmdroot.Foundation.HRESULT put_height(IHTMLImgElement* pThis, int v)
			{
				try
				{
					winmdroot.Foundation.HRESULT __hr = ComHelpers.UnwrapCCW(pThis, out Interface __object);
					if (__hr.Failed)
					{
						return __hr;
					}
					__object.height = v;
					return winmdroot.Foundation.HRESULT.S_OK;
				}
				catch (Exception ex)
				{
					return (winmdroot.Foundation.HRESULT)ex.HResult;
				}
			}

			internal int height
			{
				set
				{
					((delegate *unmanaged [Stdcall]<IHTMLImgElement*,int ,winmdroot.Foundation.HRESULT>)lpVtbl[51])((IHTMLImgElement*)Unsafe.AsPointer(ref this), value).ThrowOnFailure();
				}
				get
				{
					int __result;
					((delegate *unmanaged [Stdcall]<IHTMLImgElement*,int* ,winmdroot.Foundation.HRESULT>)lpVtbl[52])((IHTMLImgElement*)Unsafe.AsPointer(ref this), &__result).ThrowOnFailure();
					return __result;
				}
			}

			[UnmanagedCallersOnly(CallConvs = new []{
typeof(CallConvStdcall)}
)]
			private static winmdroot.Foundation.HRESULT get_height(IHTMLImgElement* pThis, int* p)
			{
				try
				{
					winmdroot.Foundation.HRESULT __hr = ComHelpers.UnwrapCCW(pThis, out Interface __object);
					if (__hr.Failed)
					{
						return __hr;
					}
					*p = __object.height;
					return winmdroot.Foundation.HRESULT.S_OK;
				}
				catch (Exception ex)
				{
					return (winmdroot.Foundation.HRESULT)ex.HResult;
				}
			}

			[UnmanagedCallersOnly(CallConvs = new []{
typeof(CallConvStdcall)}
)]
			private static winmdroot.Foundation.HRESULT put_start(IHTMLImgElement* pThis, winmdroot.Foundation.BSTR v)
			{
				try
				{
					winmdroot.Foundation.HRESULT __hr = ComHelpers.UnwrapCCW(pThis, out Interface __object);
					if (__hr.Failed)
					{
						return __hr;
					}
					__object.start = v;
					return winmdroot.Foundation.HRESULT.S_OK;
				}
				catch (Exception ex)
				{
					return (winmdroot.Foundation.HRESULT)ex.HResult;
				}
			}

			internal winmdroot.Foundation.BSTR start
			{
				set
				{
					((delegate *unmanaged [Stdcall]<IHTMLImgElement*,winmdroot.Foundation.BSTR ,winmdroot.Foundation.HRESULT>)lpVtbl[53])((IHTMLImgElement*)Unsafe.AsPointer(ref this), value).ThrowOnFailure();
				}
				get
				{
					winmdroot.Foundation.BSTR __result;
					((delegate *unmanaged [Stdcall]<IHTMLImgElement*,winmdroot.Foundation.BSTR* ,winmdroot.Foundation.HRESULT>)lpVtbl[54])((IHTMLImgElement*)Unsafe.AsPointer(ref this), &__result).ThrowOnFailure();
					return __result;
				}
			}

			[UnmanagedCallersOnly(CallConvs = new []{
typeof(CallConvStdcall)}
)]
			private static winmdroot.Foundation.HRESULT get_start(IHTMLImgElement* pThis, winmdroot.Foundation.BSTR* p)
			{
				try
				{
					winmdroot.Foundation.HRESULT __hr = ComHelpers.UnwrapCCW(pThis, out Interface __object);
					if (__hr.Failed)
					{
						return __hr;
					}
					*p = __object.start;
					return winmdroot.Foundation.HRESULT.S_OK;
				}
				catch (Exception ex)
				{
					return (winmdroot.Foundation.HRESULT)ex.HResult;
				}
			}

			internal unsafe global::Windows.Win32.Foundation.HRESULT QueryInterface<T>(out T* ppv)
where T : unmanaged

			{
				var hr = this.QueryInterface(typeof(T).GUID, out void* pv);
				if (hr.Succeeded)

				{
					ppv = (T*)pv;
				}
				else

				{
					ppv = null;
				}

				return hr;
			}

			internal struct Vtbl
			{
				internal delegate *unmanaged [Stdcall]<IHTMLImgElement*,global::System.Guid* ,void** ,winmdroot.Foundation.HRESULT> QueryInterface_1;

				internal delegate *unmanaged [Stdcall]<IHTMLImgElement*,uint> AddRef_2;

				internal delegate *unmanaged [Stdcall]<IHTMLImgElement*,uint> Release_3;

				internal delegate *unmanaged [Stdcall]<IHTMLImgElement*,uint* ,winmdroot.Foundation.HRESULT> GetTypeInfoCount_4;

				internal delegate *unmanaged [Stdcall]<IHTMLImgElement*,uint ,uint ,winmdroot.System.Com.ITypeInfo** ,winmdroot.Foundation.HRESULT> GetTypeInfo_5;

				internal delegate *unmanaged [Stdcall]<IHTMLImgElement*,global::System.Guid* ,winmdroot.Foundation.PWSTR* ,uint ,uint ,int* ,winmdroot.Foundation.HRESULT> GetIDsOfNames_6;

				internal delegate *unmanaged [Stdcall]<IHTMLImgElement*,int ,global::System.Guid* ,uint ,winmdroot.System.Com.DISPATCH_FLAGS ,winmdroot.System.Com.DISPPARAMS* ,winmdroot.System.Variant.VARIANT* ,winmdroot.System.Com.EXCEPINFO* ,uint* ,winmdroot.Foundation.HRESULT> Invoke_7;

				internal delegate *unmanaged [Stdcall]<IHTMLImgElement*,winmdroot.Foundation.VARIANT_BOOL ,winmdroot.Foundation.HRESULT> put_isMap_8;

				internal delegate *unmanaged [Stdcall]<IHTMLImgElement*,winmdroot.Foundation.VARIANT_BOOL* ,winmdroot.Foundation.HRESULT> get_isMap_9;

				internal delegate *unmanaged [Stdcall]<IHTMLImgElement*,winmdroot.Foundation.BSTR ,winmdroot.Foundation.HRESULT> put_useMap_10;

				internal delegate *unmanaged [Stdcall]<IHTMLImgElement*,winmdroot.Foundation.BSTR* ,winmdroot.Foundation.HRESULT> get_useMap_11;

				internal delegate *unmanaged [Stdcall]<IHTMLImgElement*,winmdroot.Foundation.BSTR* ,winmdroot.Foundation.HRESULT> get_mimeType_12;

				internal delegate *unmanaged [Stdcall]<IHTMLImgElement*,winmdroot.Foundation.BSTR* ,winmdroot.Foundation.HRESULT> get_fileSize_13;

				internal delegate *unmanaged [Stdcall]<IHTMLImgElement*,winmdroot.Foundation.BSTR* ,winmdroot.Foundation.HRESULT> get_fileCreatedDate_14;

				internal delegate *unmanaged [Stdcall]<IHTMLImgElement*,winmdroot.Foundation.BSTR* ,winmdroot.Foundation.HRESULT> get_fileModifiedDate_15;

				internal delegate *unmanaged [Stdcall]<IHTMLImgElement*,winmdroot.Foundation.BSTR* ,winmdroot.Foundation.HRESULT> get_fileUpdatedDate_16;

				internal delegate *unmanaged [Stdcall]<IHTMLImgElement*,winmdroot.Foundation.BSTR* ,winmdroot.Foundation.HRESULT> get_protocol_17;

				internal delegate *unmanaged [Stdcall]<IHTMLImgElement*,winmdroot.Foundation.BSTR* ,winmdroot.Foundation.HRESULT> get_href_18;

				internal delegate *unmanaged [Stdcall]<IHTMLImgElement*,winmdroot.Foundation.BSTR* ,winmdroot.Foundation.HRESULT> get_nameProp_19;

				internal delegate *unmanaged [Stdcall]<IHTMLImgElement*,winmdroot.System.Variant.VARIANT ,winmdroot.Foundation.HRESULT> put_border_20;

				internal delegate *unmanaged [Stdcall]<IHTMLImgElement*,winmdroot.System.Variant.VARIANT* ,winmdroot.Foundation.HRESULT> get_border_21;

				internal delegate *unmanaged [Stdcall]<IHTMLImgElement*,int ,winmdroot.Foundation.HRESULT> put_vspace_22;

				internal delegate *unmanaged [Stdcall]<IHTMLImgElement*,int* ,winmdroot.Foundation.HRESULT> get_vspace_23;

				internal delegate *unmanaged [Stdcall]<IHTMLImgElement*,int ,winmdroot.Foundation.HRESULT> put_hspace_24;

				internal delegate *unmanaged [Stdcall]<IHTMLImgElement*,int* ,winmdroot.Foundation.HRESULT> get_hspace_25;

				internal delegate *unmanaged [Stdcall]<IHTMLImgElement*,winmdroot.Foundation.BSTR ,winmdroot.Foundation.HRESULT> put_alt_26;

				internal delegate *unmanaged [Stdcall]<IHTMLImgElement*,winmdroot.Foundation.BSTR* ,winmdroot.Foundation.HRESULT> get_alt_27;

				internal delegate *unmanaged [Stdcall]<IHTMLImgElement*,winmdroot.Foundation.BSTR ,winmdroot.Foundation.HRESULT> put_src_28;

				internal delegate *unmanaged [Stdcall]<IHTMLImgElement*,winmdroot.Foundation.BSTR* ,winmdroot.Foundation.HRESULT> get_src_29;

				internal delegate *unmanaged [Stdcall]<IHTMLImgElement*,winmdroot.Foundation.BSTR ,winmdroot.Foundation.HRESULT> put_lowsrc_30;

				internal delegate *unmanaged [Stdcall]<IHTMLImgElement*,winmdroot.Foundation.BSTR* ,winmdroot.Foundation.HRESULT> get_lowsrc_31;

				internal delegate *unmanaged [Stdcall]<IHTMLImgElement*,winmdroot.Foundation.BSTR ,winmdroot.Foundation.HRESULT> put_vrml_32;

				internal delegate *unmanaged [Stdcall]<IHTMLImgElement*,winmdroot.Foundation.BSTR* ,winmdroot.Foundation.HRESULT> get_vrml_33;

				internal delegate *unmanaged [Stdcall]<IHTMLImgElement*,winmdroot.Foundation.BSTR ,winmdroot.Foundation.HRESULT> put_dynsrc_34;

				internal delegate *unmanaged [Stdcall]<IHTMLImgElement*,winmdroot.Foundation.BSTR* ,winmdroot.Foundation.HRESULT> get_dynsrc_35;

				internal delegate *unmanaged [Stdcall]<IHTMLImgElement*,winmdroot.Foundation.BSTR* ,winmdroot.Foundation.HRESULT> get_readyState_36;

				internal delegate *unmanaged [Stdcall]<IHTMLImgElement*,winmdroot.Foundation.VARIANT_BOOL* ,winmdroot.Foundation.HRESULT> get_complete_37;

				internal delegate *unmanaged [Stdcall]<IHTMLImgElement*,winmdroot.System.Variant.VARIANT ,winmdroot.Foundation.HRESULT> put_loop_38;

				internal delegate *unmanaged [Stdcall]<IHTMLImgElement*,winmdroot.System.Variant.VARIANT* ,winmdroot.Foundation.HRESULT> get_loop_39;

				internal delegate *unmanaged [Stdcall]<IHTMLImgElement*,winmdroot.Foundation.BSTR ,winmdroot.Foundation.HRESULT> put_align_40;

				internal delegate *unmanaged [Stdcall]<IHTMLImgElement*,winmdroot.Foundation.BSTR* ,winmdroot.Foundation.HRESULT> get_align_41;

				internal delegate *unmanaged [Stdcall]<IHTMLImgElement*,winmdroot.System.Variant.VARIANT ,winmdroot.Foundation.HRESULT> put_onload_42;

				internal delegate *unmanaged [Stdcall]<IHTMLImgElement*,winmdroot.System.Variant.VARIANT* ,winmdroot.Foundation.HRESULT> get_onload_43;

				internal delegate *unmanaged [Stdcall]<IHTMLImgElement*,winmdroot.System.Variant.VARIANT ,winmdroot.Foundation.HRESULT> put_onerror_44;

				internal delegate *unmanaged [Stdcall]<IHTMLImgElement*,winmdroot.System.Variant.VARIANT* ,winmdroot.Foundation.HRESULT> get_onerror_45;

				internal delegate *unmanaged [Stdcall]<IHTMLImgElement*,winmdroot.System.Variant.VARIANT ,winmdroot.Foundation.HRESULT> put_onabort_46;

				internal delegate *unmanaged [Stdcall]<IHTMLImgElement*,winmdroot.System.Variant.VARIANT* ,winmdroot.Foundation.HRESULT> get_onabort_47;

				internal delegate *unmanaged [Stdcall]<IHTMLImgElement*,winmdroot.Foundation.BSTR ,winmdroot.Foundation.HRESULT> put_name_48;

				internal delegate *unmanaged [Stdcall]<IHTMLImgElement*,winmdroot.Foundation.BSTR* ,winmdroot.Foundation.HRESULT> get_name_49;

				internal delegate *unmanaged [Stdcall]<IHTMLImgElement*,int ,winmdroot.Foundation.HRESULT> put_width_50;

				internal delegate *unmanaged [Stdcall]<IHTMLImgElement*,int* ,winmdroot.Foundation.HRESULT> get_width_51;

				internal delegate *unmanaged [Stdcall]<IHTMLImgElement*,int ,winmdroot.Foundation.HRESULT> put_height_52;

				internal delegate *unmanaged [Stdcall]<IHTMLImgElement*,int* ,winmdroot.Foundation.HRESULT> get_height_53;

				internal delegate *unmanaged [Stdcall]<IHTMLImgElement*,winmdroot.Foundation.BSTR ,winmdroot.Foundation.HRESULT> put_start_54;

				internal delegate *unmanaged [Stdcall]<IHTMLImgElement*,winmdroot.Foundation.BSTR* ,winmdroot.Foundation.HRESULT> get_start_55;
			} 
			public static void PopulateVTable(Vtbl* vtable)
			{
				vtable->put_isMap_8 = &put_isMap;
				vtable->get_isMap_9 = &get_isMap;
				vtable->put_useMap_10 = &put_useMap;
				vtable->get_useMap_11 = &get_useMap;
				vtable->get_mimeType_12 = &get_mimeType;
				vtable->get_fileSize_13 = &get_fileSize;
				vtable->get_fileCreatedDate_14 = &get_fileCreatedDate;
				vtable->get_fileModifiedDate_15 = &get_fileModifiedDate;
				vtable->get_fileUpdatedDate_16 = &get_fileUpdatedDate;
				vtable->get_protocol_17 = &get_protocol;
				vtable->get_href_18 = &get_href;
				vtable->get_nameProp_19 = &get_nameProp;
				vtable->put_border_20 = &put_border;
				vtable->get_border_21 = &get_border;
				vtable->put_vspace_22 = &put_vspace;
				vtable->get_vspace_23 = &get_vspace;
				vtable->put_hspace_24 = &put_hspace;
				vtable->get_hspace_25 = &get_hspace;
				vtable->put_alt_26 = &put_alt;
				vtable->get_alt_27 = &get_alt;
				vtable->put_src_28 = &put_src;
				vtable->get_src_29 = &get_src;
				vtable->put_lowsrc_30 = &put_lowsrc;
				vtable->get_lowsrc_31 = &get_lowsrc;
				vtable->put_vrml_32 = &put_vrml;
				vtable->get_vrml_33 = &get_vrml;
				vtable->put_dynsrc_34 = &put_dynsrc;
				vtable->get_dynsrc_35 = &get_dynsrc;
				vtable->get_readyState_36 = &get_readyState;
				vtable->get_complete_37 = &get_complete;
				vtable->put_loop_38 = &put_loop;
				vtable->get_loop_39 = &get_loop;
				vtable->put_align_40 = &put_align;
				vtable->get_align_41 = &get_align;
				vtable->put_onload_42 = &put_onload;
				vtable->get_onload_43 = &get_onload;
				vtable->put_onerror_44 = &put_onerror;
				vtable->get_onerror_45 = &get_onerror;
				vtable->put_onabort_46 = &put_onabort;
				vtable->get_onabort_47 = &get_onabort;
				vtable->put_name_48 = &put_name;
				vtable->get_name_49 = &get_name;
				vtable->put_width_50 = &put_width;
				vtable->get_width_51 = &get_width;
				vtable->put_height_52 = &put_height;
				vtable->get_height_53 = &get_height;
				vtable->put_start_54 = &put_start;
				vtable->get_start_55 = &get_start;
			}

			private void** lpVtbl;

			/// <summary>The IID guid for this interface.</summary>
			/// <value>{3050f240-98b5-11cf-bb82-00aa00bdce0b}</value>
			internal static readonly Guid IID_Guid = new Guid(0x3050F240, 0x98B5, 0x11CF, 0xBB, 0x82, 0x00, 0xAA, 0x00, 0xBD, 0xCE, 0x0B);

			static ref readonly Guid IComIID.Guid			{
								[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
				{
					ReadOnlySpan<byte> data = new byte[]					{
0x40,0xF2,0x50,0x30,0xB5,0x98,0xCF,0x11,0xBB,0x82,0x00,0xAA,0x00,0xBD,0xCE,0x0B					};
					return ref Unsafe.As<byte,Guid>(ref MemoryMarshal.GetReference(data));
				}
			}
			[Guid("3050F240-98B5-11CF-BB82-00AA00BDCE0B"),InterfaceType(ComInterfaceType.InterfaceIsDual),ComImport()]
			internal interface Interface
			{
				winmdroot.Foundation.VARIANT_BOOL isMap
				{
					set;
					get;
				}

				winmdroot.Foundation.BSTR useMap
				{
					set;
					get;
				}

				winmdroot.Foundation.BSTR mimeType
				{
					get;
				}

				winmdroot.Foundation.BSTR fileSize
				{
					get;
				}

				winmdroot.Foundation.BSTR fileCreatedDate
				{
					get;
				}

				winmdroot.Foundation.BSTR fileModifiedDate
				{
					get;
				}

				winmdroot.Foundation.BSTR fileUpdatedDate
				{
					get;
				}

				winmdroot.Foundation.BSTR protocol
				{
					get;
				}

				winmdroot.Foundation.BSTR href
				{
					get;
				}

				winmdroot.Foundation.BSTR nameProp
				{
					get;
				}

				winmdroot.System.Variant.VARIANT border
				{
					set;
					get;
				}

				int vspace
				{
					set;
					get;
				}

				int hspace
				{
					set;
					get;
				}

				winmdroot.Foundation.BSTR alt
				{
					set;
					get;
				}

				winmdroot.Foundation.BSTR src
				{
					set;
					get;
				}

				winmdroot.Foundation.BSTR lowsrc
				{
					set;
					get;
				}

				winmdroot.Foundation.BSTR vrml
				{
					set;
					get;
				}

				winmdroot.Foundation.BSTR dynsrc
				{
					set;
					get;
				}

				winmdroot.Foundation.BSTR readyState
				{
					get;
				}

				winmdroot.Foundation.VARIANT_BOOL complete
				{
					get;
				}

				winmdroot.System.Variant.VARIANT loop
				{
					set;
					get;
				}

				winmdroot.Foundation.BSTR align
				{
					set;
					get;
				}

				winmdroot.System.Variant.VARIANT onload
				{
					set;
					get;
				}

				winmdroot.System.Variant.VARIANT onerror
				{
					set;
					get;
				}

				winmdroot.System.Variant.VARIANT onabort
				{
					set;
					get;
				}

				winmdroot.Foundation.BSTR name
				{
					set;
					get;
				}

				int width
				{
					set;
					get;
				}

				int height
				{
					set;
					get;
				}

				winmdroot.Foundation.BSTR start
				{
					set;
					get;
				}
			}
		}
	}
}