|
// ------------------------------------------------------------------------------
// <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("3050F673-98B5-11CF-BB82-00AA00BDCE0B")]
[global::System.CodeDom.Compiler.GeneratedCode("Microsoft.Windows.CsWin32", "0.3.151+58e949951d.RR")]
internal unsafe partial struct IHTMLElement3
:IVTable<IHTMLElement3,IHTMLElement3.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]<IHTMLElement3*,global::System.Guid* ,void** ,winmdroot.Foundation.HRESULT>)lpVtbl[0])((IHTMLElement3*)Unsafe.AsPointer(ref this), riid, ppvObject);
}
public uint AddRef()
{
return ((delegate *unmanaged [Stdcall]<IHTMLElement3*,uint>)lpVtbl[1])((IHTMLElement3*)Unsafe.AsPointer(ref this));
}
public uint Release()
{
return ((delegate *unmanaged [Stdcall]<IHTMLElement3*,uint>)lpVtbl[2])((IHTMLElement3*)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]<IHTMLElement3*,uint* ,winmdroot.Foundation.HRESULT>)lpVtbl[3])((IHTMLElement3*)Unsafe.AsPointer(ref this), pctinfo).ThrowOnFailure();
}
public unsafe void GetTypeInfo(uint iTInfo, uint lcid, winmdroot.System.Com.ITypeInfo** ppTInfo)
{
((delegate *unmanaged [Stdcall]<IHTMLElement3*,uint ,uint ,winmdroot.System.Com.ITypeInfo** ,winmdroot.Foundation.HRESULT>)lpVtbl[4])((IHTMLElement3*)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]<IHTMLElement3*,global::System.Guid* ,winmdroot.Foundation.PWSTR* ,uint ,uint ,int* ,winmdroot.Foundation.HRESULT>)lpVtbl[5])((IHTMLElement3*)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]<IHTMLElement3*,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])((IHTMLElement3*)Unsafe.AsPointer(ref this), dispIdMember, riid, lcid, wFlags, pDispParams, pVarResult, pExcepInfo, puArgErr).ThrowOnFailure();
}
/// <inheritdoc cref="mergeAttributes(winmdroot.Web.MsHtml.IHTMLElement*, winmdroot.System.Variant.VARIANT*)"/>
internal unsafe void mergeAttributes(winmdroot.Web.MsHtml.IHTMLElement* mergeThis, in winmdroot.System.Variant.VARIANT pvarFlags)
{
fixed (winmdroot.System.Variant.VARIANT* pvarFlagsLocal = &pvarFlags)
{
this.mergeAttributes(mergeThis, pvarFlagsLocal);
}
}
[UnmanagedCallersOnly(CallConvs = new []{
typeof(CallConvStdcall)}
)]
private static winmdroot.Foundation.HRESULT mergeAttributes(IHTMLElement3* pThis, winmdroot.Web.MsHtml.IHTMLElement* mergeThis, winmdroot.System.Variant.VARIANT* pvarFlags)
{
try
{
winmdroot.Foundation.HRESULT __hr = ComHelpers.UnwrapCCW(pThis, out Interface __object);
if (__hr.Failed)
{
return __hr;
}
return __object.mergeAttributes(mergeThis, pvarFlags);
}
catch (Exception ex)
{
return (winmdroot.Foundation.HRESULT)ex.HResult;
}
}
public unsafe void mergeAttributes(winmdroot.Web.MsHtml.IHTMLElement* mergeThis, winmdroot.System.Variant.VARIANT* pvarFlags)
{
((delegate *unmanaged [Stdcall]<IHTMLElement3*,winmdroot.Web.MsHtml.IHTMLElement* ,winmdroot.System.Variant.VARIANT* ,winmdroot.Foundation.HRESULT>)lpVtbl[7])((IHTMLElement3*)Unsafe.AsPointer(ref this), mergeThis, pvarFlags).ThrowOnFailure();
}
[UnmanagedCallersOnly(CallConvs = new []{
typeof(CallConvStdcall)}
)]
private static winmdroot.Foundation.HRESULT get_isMultiLine(IHTMLElement3* pThis, winmdroot.Foundation.VARIANT_BOOL* p)
{
try
{
winmdroot.Foundation.HRESULT __hr = ComHelpers.UnwrapCCW(pThis, out Interface __object);
if (__hr.Failed)
{
return __hr;
}
*p = __object.isMultiLine;
return winmdroot.Foundation.HRESULT.S_OK;
}
catch (Exception ex)
{
return (winmdroot.Foundation.HRESULT)ex.HResult;
}
}
internal winmdroot.Foundation.VARIANT_BOOL isMultiLine
{
get
{
winmdroot.Foundation.VARIANT_BOOL __result;
((delegate *unmanaged [Stdcall]<IHTMLElement3*,winmdroot.Foundation.VARIANT_BOOL* ,winmdroot.Foundation.HRESULT>)lpVtbl[8])((IHTMLElement3*)Unsafe.AsPointer(ref this), &__result).ThrowOnFailure();
return __result;
}
}
[UnmanagedCallersOnly(CallConvs = new []{
typeof(CallConvStdcall)}
)]
private static winmdroot.Foundation.HRESULT get_canHaveHTML(IHTMLElement3* pThis, winmdroot.Foundation.VARIANT_BOOL* p)
{
try
{
winmdroot.Foundation.HRESULT __hr = ComHelpers.UnwrapCCW(pThis, out Interface __object);
if (__hr.Failed)
{
return __hr;
}
*p = __object.canHaveHTML;
return winmdroot.Foundation.HRESULT.S_OK;
}
catch (Exception ex)
{
return (winmdroot.Foundation.HRESULT)ex.HResult;
}
}
internal winmdroot.Foundation.VARIANT_BOOL canHaveHTML
{
get
{
winmdroot.Foundation.VARIANT_BOOL __result;
((delegate *unmanaged [Stdcall]<IHTMLElement3*,winmdroot.Foundation.VARIANT_BOOL* ,winmdroot.Foundation.HRESULT>)lpVtbl[9])((IHTMLElement3*)Unsafe.AsPointer(ref this), &__result).ThrowOnFailure();
return __result;
}
}
[UnmanagedCallersOnly(CallConvs = new []{
typeof(CallConvStdcall)}
)]
private static winmdroot.Foundation.HRESULT put_onlayoutcomplete(IHTMLElement3* pThis, winmdroot.System.Variant.VARIANT v)
{
try
{
winmdroot.Foundation.HRESULT __hr = ComHelpers.UnwrapCCW(pThis, out Interface __object);
if (__hr.Failed)
{
return __hr;
}
__object.onlayoutcomplete = v;
return winmdroot.Foundation.HRESULT.S_OK;
}
catch (Exception ex)
{
return (winmdroot.Foundation.HRESULT)ex.HResult;
}
}
internal winmdroot.System.Variant.VARIANT onlayoutcomplete
{
set
{
((delegate *unmanaged [Stdcall]<IHTMLElement3*,winmdroot.System.Variant.VARIANT ,winmdroot.Foundation.HRESULT>)lpVtbl[10])((IHTMLElement3*)Unsafe.AsPointer(ref this), value).ThrowOnFailure();
}
get
{
winmdroot.System.Variant.VARIANT __result;
((delegate *unmanaged [Stdcall]<IHTMLElement3*,winmdroot.System.Variant.VARIANT* ,winmdroot.Foundation.HRESULT>)lpVtbl[11])((IHTMLElement3*)Unsafe.AsPointer(ref this), &__result).ThrowOnFailure();
return __result;
}
}
[UnmanagedCallersOnly(CallConvs = new []{
typeof(CallConvStdcall)}
)]
private static winmdroot.Foundation.HRESULT get_onlayoutcomplete(IHTMLElement3* pThis, winmdroot.System.Variant.VARIANT* p)
{
try
{
winmdroot.Foundation.HRESULT __hr = ComHelpers.UnwrapCCW(pThis, out Interface __object);
if (__hr.Failed)
{
return __hr;
}
*p = __object.onlayoutcomplete;
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_onpage(IHTMLElement3* pThis, winmdroot.System.Variant.VARIANT v)
{
try
{
winmdroot.Foundation.HRESULT __hr = ComHelpers.UnwrapCCW(pThis, out Interface __object);
if (__hr.Failed)
{
return __hr;
}
__object.onpage = v;
return winmdroot.Foundation.HRESULT.S_OK;
}
catch (Exception ex)
{
return (winmdroot.Foundation.HRESULT)ex.HResult;
}
}
internal winmdroot.System.Variant.VARIANT onpage
{
set
{
((delegate *unmanaged [Stdcall]<IHTMLElement3*,winmdroot.System.Variant.VARIANT ,winmdroot.Foundation.HRESULT>)lpVtbl[12])((IHTMLElement3*)Unsafe.AsPointer(ref this), value).ThrowOnFailure();
}
get
{
winmdroot.System.Variant.VARIANT __result;
((delegate *unmanaged [Stdcall]<IHTMLElement3*,winmdroot.System.Variant.VARIANT* ,winmdroot.Foundation.HRESULT>)lpVtbl[13])((IHTMLElement3*)Unsafe.AsPointer(ref this), &__result).ThrowOnFailure();
return __result;
}
}
[UnmanagedCallersOnly(CallConvs = new []{
typeof(CallConvStdcall)}
)]
private static winmdroot.Foundation.HRESULT get_onpage(IHTMLElement3* pThis, winmdroot.System.Variant.VARIANT* p)
{
try
{
winmdroot.Foundation.HRESULT __hr = ComHelpers.UnwrapCCW(pThis, out Interface __object);
if (__hr.Failed)
{
return __hr;
}
*p = __object.onpage;
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_inflateBlock(IHTMLElement3* pThis, winmdroot.Foundation.VARIANT_BOOL v)
{
try
{
winmdroot.Foundation.HRESULT __hr = ComHelpers.UnwrapCCW(pThis, out Interface __object);
if (__hr.Failed)
{
return __hr;
}
__object.inflateBlock = v;
return winmdroot.Foundation.HRESULT.S_OK;
}
catch (Exception ex)
{
return (winmdroot.Foundation.HRESULT)ex.HResult;
}
}
internal winmdroot.Foundation.VARIANT_BOOL inflateBlock
{
set
{
((delegate *unmanaged [Stdcall]<IHTMLElement3*,winmdroot.Foundation.VARIANT_BOOL ,winmdroot.Foundation.HRESULT>)lpVtbl[14])((IHTMLElement3*)Unsafe.AsPointer(ref this), value).ThrowOnFailure();
}
get
{
winmdroot.Foundation.VARIANT_BOOL __result;
((delegate *unmanaged [Stdcall]<IHTMLElement3*,winmdroot.Foundation.VARIANT_BOOL* ,winmdroot.Foundation.HRESULT>)lpVtbl[15])((IHTMLElement3*)Unsafe.AsPointer(ref this), &__result).ThrowOnFailure();
return __result;
}
}
[UnmanagedCallersOnly(CallConvs = new []{
typeof(CallConvStdcall)}
)]
private static winmdroot.Foundation.HRESULT get_inflateBlock(IHTMLElement3* pThis, winmdroot.Foundation.VARIANT_BOOL* p)
{
try
{
winmdroot.Foundation.HRESULT __hr = ComHelpers.UnwrapCCW(pThis, out Interface __object);
if (__hr.Failed)
{
return __hr;
}
*p = __object.inflateBlock;
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_onbeforedeactivate(IHTMLElement3* pThis, winmdroot.System.Variant.VARIANT v)
{
try
{
winmdroot.Foundation.HRESULT __hr = ComHelpers.UnwrapCCW(pThis, out Interface __object);
if (__hr.Failed)
{
return __hr;
}
__object.onbeforedeactivate = v;
return winmdroot.Foundation.HRESULT.S_OK;
}
catch (Exception ex)
{
return (winmdroot.Foundation.HRESULT)ex.HResult;
}
}
internal winmdroot.System.Variant.VARIANT onbeforedeactivate
{
set
{
((delegate *unmanaged [Stdcall]<IHTMLElement3*,winmdroot.System.Variant.VARIANT ,winmdroot.Foundation.HRESULT>)lpVtbl[16])((IHTMLElement3*)Unsafe.AsPointer(ref this), value).ThrowOnFailure();
}
get
{
winmdroot.System.Variant.VARIANT __result;
((delegate *unmanaged [Stdcall]<IHTMLElement3*,winmdroot.System.Variant.VARIANT* ,winmdroot.Foundation.HRESULT>)lpVtbl[17])((IHTMLElement3*)Unsafe.AsPointer(ref this), &__result).ThrowOnFailure();
return __result;
}
}
[UnmanagedCallersOnly(CallConvs = new []{
typeof(CallConvStdcall)}
)]
private static winmdroot.Foundation.HRESULT get_onbeforedeactivate(IHTMLElement3* pThis, winmdroot.System.Variant.VARIANT* p)
{
try
{
winmdroot.Foundation.HRESULT __hr = ComHelpers.UnwrapCCW(pThis, out Interface __object);
if (__hr.Failed)
{
return __hr;
}
*p = __object.onbeforedeactivate;
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 setActive(IHTMLElement3* pThis)
{
try
{
winmdroot.Foundation.HRESULT __hr = ComHelpers.UnwrapCCW(pThis, out Interface __object);
if (__hr.Failed)
{
return __hr;
}
return __object.setActive();
}
catch (Exception ex)
{
return (winmdroot.Foundation.HRESULT)ex.HResult;
}
}
public void setActive()
{
((delegate *unmanaged [Stdcall]<IHTMLElement3*,winmdroot.Foundation.HRESULT>)lpVtbl[18])((IHTMLElement3*)Unsafe.AsPointer(ref this)).ThrowOnFailure();
}
[UnmanagedCallersOnly(CallConvs = new []{
typeof(CallConvStdcall)}
)]
private static winmdroot.Foundation.HRESULT put_contentEditable(IHTMLElement3* pThis, winmdroot.Foundation.BSTR v)
{
try
{
winmdroot.Foundation.HRESULT __hr = ComHelpers.UnwrapCCW(pThis, out Interface __object);
if (__hr.Failed)
{
return __hr;
}
__object.contentEditable = v;
return winmdroot.Foundation.HRESULT.S_OK;
}
catch (Exception ex)
{
return (winmdroot.Foundation.HRESULT)ex.HResult;
}
}
internal winmdroot.Foundation.BSTR contentEditable
{
set
{
((delegate *unmanaged [Stdcall]<IHTMLElement3*,winmdroot.Foundation.BSTR ,winmdroot.Foundation.HRESULT>)lpVtbl[19])((IHTMLElement3*)Unsafe.AsPointer(ref this), value).ThrowOnFailure();
}
get
{
winmdroot.Foundation.BSTR __result;
((delegate *unmanaged [Stdcall]<IHTMLElement3*,winmdroot.Foundation.BSTR* ,winmdroot.Foundation.HRESULT>)lpVtbl[20])((IHTMLElement3*)Unsafe.AsPointer(ref this), &__result).ThrowOnFailure();
return __result;
}
}
[UnmanagedCallersOnly(CallConvs = new []{
typeof(CallConvStdcall)}
)]
private static winmdroot.Foundation.HRESULT get_contentEditable(IHTMLElement3* pThis, winmdroot.Foundation.BSTR* p)
{
try
{
winmdroot.Foundation.HRESULT __hr = ComHelpers.UnwrapCCW(pThis, out Interface __object);
if (__hr.Failed)
{
return __hr;
}
*p = __object.contentEditable;
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_isContentEditable(IHTMLElement3* pThis, winmdroot.Foundation.VARIANT_BOOL* p)
{
try
{
winmdroot.Foundation.HRESULT __hr = ComHelpers.UnwrapCCW(pThis, out Interface __object);
if (__hr.Failed)
{
return __hr;
}
*p = __object.isContentEditable;
return winmdroot.Foundation.HRESULT.S_OK;
}
catch (Exception ex)
{
return (winmdroot.Foundation.HRESULT)ex.HResult;
}
}
internal winmdroot.Foundation.VARIANT_BOOL isContentEditable
{
get
{
winmdroot.Foundation.VARIANT_BOOL __result;
((delegate *unmanaged [Stdcall]<IHTMLElement3*,winmdroot.Foundation.VARIANT_BOOL* ,winmdroot.Foundation.HRESULT>)lpVtbl[21])((IHTMLElement3*)Unsafe.AsPointer(ref this), &__result).ThrowOnFailure();
return __result;
}
}
[UnmanagedCallersOnly(CallConvs = new []{
typeof(CallConvStdcall)}
)]
private static winmdroot.Foundation.HRESULT put_hideFocus(IHTMLElement3* pThis, winmdroot.Foundation.VARIANT_BOOL v)
{
try
{
winmdroot.Foundation.HRESULT __hr = ComHelpers.UnwrapCCW(pThis, out Interface __object);
if (__hr.Failed)
{
return __hr;
}
__object.hideFocus = v;
return winmdroot.Foundation.HRESULT.S_OK;
}
catch (Exception ex)
{
return (winmdroot.Foundation.HRESULT)ex.HResult;
}
}
internal winmdroot.Foundation.VARIANT_BOOL hideFocus
{
set
{
((delegate *unmanaged [Stdcall]<IHTMLElement3*,winmdroot.Foundation.VARIANT_BOOL ,winmdroot.Foundation.HRESULT>)lpVtbl[22])((IHTMLElement3*)Unsafe.AsPointer(ref this), value).ThrowOnFailure();
}
get
{
winmdroot.Foundation.VARIANT_BOOL __result;
((delegate *unmanaged [Stdcall]<IHTMLElement3*,winmdroot.Foundation.VARIANT_BOOL* ,winmdroot.Foundation.HRESULT>)lpVtbl[23])((IHTMLElement3*)Unsafe.AsPointer(ref this), &__result).ThrowOnFailure();
return __result;
}
}
[UnmanagedCallersOnly(CallConvs = new []{
typeof(CallConvStdcall)}
)]
private static winmdroot.Foundation.HRESULT get_hideFocus(IHTMLElement3* pThis, winmdroot.Foundation.VARIANT_BOOL* p)
{
try
{
winmdroot.Foundation.HRESULT __hr = ComHelpers.UnwrapCCW(pThis, out Interface __object);
if (__hr.Failed)
{
return __hr;
}
*p = __object.hideFocus;
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_disabled(IHTMLElement3* pThis, winmdroot.Foundation.VARIANT_BOOL v)
{
try
{
winmdroot.Foundation.HRESULT __hr = ComHelpers.UnwrapCCW(pThis, out Interface __object);
if (__hr.Failed)
{
return __hr;
}
return __object.put_disabled(v);
}
catch (Exception ex)
{
return (winmdroot.Foundation.HRESULT)ex.HResult;
}
}
public winmdroot.Foundation.HRESULT put_disabled(winmdroot.Foundation.VARIANT_BOOL v)
{
return ((delegate *unmanaged [Stdcall]<IHTMLElement3*,winmdroot.Foundation.VARIANT_BOOL ,winmdroot.Foundation.HRESULT>)lpVtbl[24])((IHTMLElement3*)Unsafe.AsPointer(ref this), v);
}
/// <inheritdoc cref="get_disabled(winmdroot.Foundation.VARIANT_BOOL*)"/>
internal unsafe winmdroot.Foundation.HRESULT get_disabled(out winmdroot.Foundation.VARIANT_BOOL p)
{
fixed (winmdroot.Foundation.VARIANT_BOOL* pLocal = &p)
{
winmdroot.Foundation.HRESULT __result = this.get_disabled(pLocal);
return __result;
}
}
[UnmanagedCallersOnly(CallConvs = new []{
typeof(CallConvStdcall)}
)]
private static winmdroot.Foundation.HRESULT get_disabled(IHTMLElement3* pThis, winmdroot.Foundation.VARIANT_BOOL* p)
{
try
{
winmdroot.Foundation.HRESULT __hr = ComHelpers.UnwrapCCW(pThis, out Interface __object);
if (__hr.Failed)
{
return __hr;
}
return __object.get_disabled(p);
}
catch (Exception ex)
{
return (winmdroot.Foundation.HRESULT)ex.HResult;
}
}
public unsafe winmdroot.Foundation.HRESULT get_disabled(winmdroot.Foundation.VARIANT_BOOL* p)
{
return ((delegate *unmanaged [Stdcall]<IHTMLElement3*,winmdroot.Foundation.VARIANT_BOOL* ,winmdroot.Foundation.HRESULT>)lpVtbl[25])((IHTMLElement3*)Unsafe.AsPointer(ref this), p);
}
[UnmanagedCallersOnly(CallConvs = new []{
typeof(CallConvStdcall)}
)]
private static winmdroot.Foundation.HRESULT get_isDisabled(IHTMLElement3* pThis, winmdroot.Foundation.VARIANT_BOOL* p)
{
try
{
winmdroot.Foundation.HRESULT __hr = ComHelpers.UnwrapCCW(pThis, out Interface __object);
if (__hr.Failed)
{
return __hr;
}
*p = __object.isDisabled;
return winmdroot.Foundation.HRESULT.S_OK;
}
catch (Exception ex)
{
return (winmdroot.Foundation.HRESULT)ex.HResult;
}
}
internal winmdroot.Foundation.VARIANT_BOOL isDisabled
{
get
{
winmdroot.Foundation.VARIANT_BOOL __result;
((delegate *unmanaged [Stdcall]<IHTMLElement3*,winmdroot.Foundation.VARIANT_BOOL* ,winmdroot.Foundation.HRESULT>)lpVtbl[26])((IHTMLElement3*)Unsafe.AsPointer(ref this), &__result).ThrowOnFailure();
return __result;
}
}
[UnmanagedCallersOnly(CallConvs = new []{
typeof(CallConvStdcall)}
)]
private static winmdroot.Foundation.HRESULT put_onmove(IHTMLElement3* pThis, winmdroot.System.Variant.VARIANT v)
{
try
{
winmdroot.Foundation.HRESULT __hr = ComHelpers.UnwrapCCW(pThis, out Interface __object);
if (__hr.Failed)
{
return __hr;
}
__object.onmove = v;
return winmdroot.Foundation.HRESULT.S_OK;
}
catch (Exception ex)
{
return (winmdroot.Foundation.HRESULT)ex.HResult;
}
}
internal winmdroot.System.Variant.VARIANT onmove
{
set
{
((delegate *unmanaged [Stdcall]<IHTMLElement3*,winmdroot.System.Variant.VARIANT ,winmdroot.Foundation.HRESULT>)lpVtbl[27])((IHTMLElement3*)Unsafe.AsPointer(ref this), value).ThrowOnFailure();
}
get
{
winmdroot.System.Variant.VARIANT __result;
((delegate *unmanaged [Stdcall]<IHTMLElement3*,winmdroot.System.Variant.VARIANT* ,winmdroot.Foundation.HRESULT>)lpVtbl[28])((IHTMLElement3*)Unsafe.AsPointer(ref this), &__result).ThrowOnFailure();
return __result;
}
}
[UnmanagedCallersOnly(CallConvs = new []{
typeof(CallConvStdcall)}
)]
private static winmdroot.Foundation.HRESULT get_onmove(IHTMLElement3* pThis, winmdroot.System.Variant.VARIANT* p)
{
try
{
winmdroot.Foundation.HRESULT __hr = ComHelpers.UnwrapCCW(pThis, out Interface __object);
if (__hr.Failed)
{
return __hr;
}
*p = __object.onmove;
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_oncontrolselect(IHTMLElement3* pThis, winmdroot.System.Variant.VARIANT v)
{
try
{
winmdroot.Foundation.HRESULT __hr = ComHelpers.UnwrapCCW(pThis, out Interface __object);
if (__hr.Failed)
{
return __hr;
}
__object.oncontrolselect = v;
return winmdroot.Foundation.HRESULT.S_OK;
}
catch (Exception ex)
{
return (winmdroot.Foundation.HRESULT)ex.HResult;
}
}
internal winmdroot.System.Variant.VARIANT oncontrolselect
{
set
{
((delegate *unmanaged [Stdcall]<IHTMLElement3*,winmdroot.System.Variant.VARIANT ,winmdroot.Foundation.HRESULT>)lpVtbl[29])((IHTMLElement3*)Unsafe.AsPointer(ref this), value).ThrowOnFailure();
}
get
{
winmdroot.System.Variant.VARIANT __result;
((delegate *unmanaged [Stdcall]<IHTMLElement3*,winmdroot.System.Variant.VARIANT* ,winmdroot.Foundation.HRESULT>)lpVtbl[30])((IHTMLElement3*)Unsafe.AsPointer(ref this), &__result).ThrowOnFailure();
return __result;
}
}
[UnmanagedCallersOnly(CallConvs = new []{
typeof(CallConvStdcall)}
)]
private static winmdroot.Foundation.HRESULT get_oncontrolselect(IHTMLElement3* pThis, winmdroot.System.Variant.VARIANT* p)
{
try
{
winmdroot.Foundation.HRESULT __hr = ComHelpers.UnwrapCCW(pThis, out Interface __object);
if (__hr.Failed)
{
return __hr;
}
*p = __object.oncontrolselect;
return winmdroot.Foundation.HRESULT.S_OK;
}
catch (Exception ex)
{
return (winmdroot.Foundation.HRESULT)ex.HResult;
}
}
/// <inheritdoc cref="fireEvent(winmdroot.Foundation.BSTR, winmdroot.System.Variant.VARIANT*, winmdroot.Foundation.VARIANT_BOOL*)"/>
internal unsafe winmdroot.Foundation.HRESULT fireEvent(winmdroot.Foundation.BSTR bstrEventName, in winmdroot.System.Variant.VARIANT pvarEventObject, out winmdroot.Foundation.VARIANT_BOOL pfCancelled)
{
fixed (winmdroot.Foundation.VARIANT_BOOL* pfCancelledLocal = &pfCancelled)
{
fixed (winmdroot.System.Variant.VARIANT* pvarEventObjectLocal = &pvarEventObject)
{
winmdroot.Foundation.HRESULT __result = this.fireEvent(bstrEventName, pvarEventObjectLocal, pfCancelledLocal);
return __result;
}
}
}
[UnmanagedCallersOnly(CallConvs = new []{
typeof(CallConvStdcall)}
)]
private static winmdroot.Foundation.HRESULT fireEvent(IHTMLElement3* pThis, winmdroot.Foundation.BSTR bstrEventName, winmdroot.System.Variant.VARIANT* pvarEventObject, winmdroot.Foundation.VARIANT_BOOL* pfCancelled)
{
try
{
winmdroot.Foundation.HRESULT __hr = ComHelpers.UnwrapCCW(pThis, out Interface __object);
if (__hr.Failed)
{
return __hr;
}
return __object.fireEvent(bstrEventName, pvarEventObject, pfCancelled);
}
catch (Exception ex)
{
return (winmdroot.Foundation.HRESULT)ex.HResult;
}
}
public unsafe winmdroot.Foundation.HRESULT fireEvent(winmdroot.Foundation.BSTR bstrEventName, winmdroot.System.Variant.VARIANT* pvarEventObject, winmdroot.Foundation.VARIANT_BOOL* pfCancelled)
{
return ((delegate *unmanaged [Stdcall]<IHTMLElement3*,winmdroot.Foundation.BSTR ,winmdroot.System.Variant.VARIANT* ,winmdroot.Foundation.VARIANT_BOOL* ,winmdroot.Foundation.HRESULT>)lpVtbl[31])((IHTMLElement3*)Unsafe.AsPointer(ref this), bstrEventName, pvarEventObject, pfCancelled);
}
[UnmanagedCallersOnly(CallConvs = new []{
typeof(CallConvStdcall)}
)]
private static winmdroot.Foundation.HRESULT put_onresizestart(IHTMLElement3* pThis, winmdroot.System.Variant.VARIANT v)
{
try
{
winmdroot.Foundation.HRESULT __hr = ComHelpers.UnwrapCCW(pThis, out Interface __object);
if (__hr.Failed)
{
return __hr;
}
__object.onresizestart = v;
return winmdroot.Foundation.HRESULT.S_OK;
}
catch (Exception ex)
{
return (winmdroot.Foundation.HRESULT)ex.HResult;
}
}
internal winmdroot.System.Variant.VARIANT onresizestart
{
set
{
((delegate *unmanaged [Stdcall]<IHTMLElement3*,winmdroot.System.Variant.VARIANT ,winmdroot.Foundation.HRESULT>)lpVtbl[32])((IHTMLElement3*)Unsafe.AsPointer(ref this), value).ThrowOnFailure();
}
get
{
winmdroot.System.Variant.VARIANT __result;
((delegate *unmanaged [Stdcall]<IHTMLElement3*,winmdroot.System.Variant.VARIANT* ,winmdroot.Foundation.HRESULT>)lpVtbl[33])((IHTMLElement3*)Unsafe.AsPointer(ref this), &__result).ThrowOnFailure();
return __result;
}
}
[UnmanagedCallersOnly(CallConvs = new []{
typeof(CallConvStdcall)}
)]
private static winmdroot.Foundation.HRESULT get_onresizestart(IHTMLElement3* pThis, winmdroot.System.Variant.VARIANT* p)
{
try
{
winmdroot.Foundation.HRESULT __hr = ComHelpers.UnwrapCCW(pThis, out Interface __object);
if (__hr.Failed)
{
return __hr;
}
*p = __object.onresizestart;
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_onresizeend(IHTMLElement3* pThis, winmdroot.System.Variant.VARIANT v)
{
try
{
winmdroot.Foundation.HRESULT __hr = ComHelpers.UnwrapCCW(pThis, out Interface __object);
if (__hr.Failed)
{
return __hr;
}
__object.onresizeend = v;
return winmdroot.Foundation.HRESULT.S_OK;
}
catch (Exception ex)
{
return (winmdroot.Foundation.HRESULT)ex.HResult;
}
}
internal winmdroot.System.Variant.VARIANT onresizeend
{
set
{
((delegate *unmanaged [Stdcall]<IHTMLElement3*,winmdroot.System.Variant.VARIANT ,winmdroot.Foundation.HRESULT>)lpVtbl[34])((IHTMLElement3*)Unsafe.AsPointer(ref this), value).ThrowOnFailure();
}
get
{
winmdroot.System.Variant.VARIANT __result;
((delegate *unmanaged [Stdcall]<IHTMLElement3*,winmdroot.System.Variant.VARIANT* ,winmdroot.Foundation.HRESULT>)lpVtbl[35])((IHTMLElement3*)Unsafe.AsPointer(ref this), &__result).ThrowOnFailure();
return __result;
}
}
[UnmanagedCallersOnly(CallConvs = new []{
typeof(CallConvStdcall)}
)]
private static winmdroot.Foundation.HRESULT get_onresizeend(IHTMLElement3* pThis, winmdroot.System.Variant.VARIANT* p)
{
try
{
winmdroot.Foundation.HRESULT __hr = ComHelpers.UnwrapCCW(pThis, out Interface __object);
if (__hr.Failed)
{
return __hr;
}
*p = __object.onresizeend;
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_onmovestart(IHTMLElement3* pThis, winmdroot.System.Variant.VARIANT v)
{
try
{
winmdroot.Foundation.HRESULT __hr = ComHelpers.UnwrapCCW(pThis, out Interface __object);
if (__hr.Failed)
{
return __hr;
}
__object.onmovestart = v;
return winmdroot.Foundation.HRESULT.S_OK;
}
catch (Exception ex)
{
return (winmdroot.Foundation.HRESULT)ex.HResult;
}
}
internal winmdroot.System.Variant.VARIANT onmovestart
{
set
{
((delegate *unmanaged [Stdcall]<IHTMLElement3*,winmdroot.System.Variant.VARIANT ,winmdroot.Foundation.HRESULT>)lpVtbl[36])((IHTMLElement3*)Unsafe.AsPointer(ref this), value).ThrowOnFailure();
}
get
{
winmdroot.System.Variant.VARIANT __result;
((delegate *unmanaged [Stdcall]<IHTMLElement3*,winmdroot.System.Variant.VARIANT* ,winmdroot.Foundation.HRESULT>)lpVtbl[37])((IHTMLElement3*)Unsafe.AsPointer(ref this), &__result).ThrowOnFailure();
return __result;
}
}
[UnmanagedCallersOnly(CallConvs = new []{
typeof(CallConvStdcall)}
)]
private static winmdroot.Foundation.HRESULT get_onmovestart(IHTMLElement3* pThis, winmdroot.System.Variant.VARIANT* p)
{
try
{
winmdroot.Foundation.HRESULT __hr = ComHelpers.UnwrapCCW(pThis, out Interface __object);
if (__hr.Failed)
{
return __hr;
}
*p = __object.onmovestart;
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_onmoveend(IHTMLElement3* pThis, winmdroot.System.Variant.VARIANT v)
{
try
{
winmdroot.Foundation.HRESULT __hr = ComHelpers.UnwrapCCW(pThis, out Interface __object);
if (__hr.Failed)
{
return __hr;
}
__object.onmoveend = v;
return winmdroot.Foundation.HRESULT.S_OK;
}
catch (Exception ex)
{
return (winmdroot.Foundation.HRESULT)ex.HResult;
}
}
internal winmdroot.System.Variant.VARIANT onmoveend
{
set
{
((delegate *unmanaged [Stdcall]<IHTMLElement3*,winmdroot.System.Variant.VARIANT ,winmdroot.Foundation.HRESULT>)lpVtbl[38])((IHTMLElement3*)Unsafe.AsPointer(ref this), value).ThrowOnFailure();
}
get
{
winmdroot.System.Variant.VARIANT __result;
((delegate *unmanaged [Stdcall]<IHTMLElement3*,winmdroot.System.Variant.VARIANT* ,winmdroot.Foundation.HRESULT>)lpVtbl[39])((IHTMLElement3*)Unsafe.AsPointer(ref this), &__result).ThrowOnFailure();
return __result;
}
}
[UnmanagedCallersOnly(CallConvs = new []{
typeof(CallConvStdcall)}
)]
private static winmdroot.Foundation.HRESULT get_onmoveend(IHTMLElement3* pThis, winmdroot.System.Variant.VARIANT* p)
{
try
{
winmdroot.Foundation.HRESULT __hr = ComHelpers.UnwrapCCW(pThis, out Interface __object);
if (__hr.Failed)
{
return __hr;
}
*p = __object.onmoveend;
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_onmouseenter(IHTMLElement3* pThis, winmdroot.System.Variant.VARIANT v)
{
try
{
winmdroot.Foundation.HRESULT __hr = ComHelpers.UnwrapCCW(pThis, out Interface __object);
if (__hr.Failed)
{
return __hr;
}
__object.onmouseenter = v;
return winmdroot.Foundation.HRESULT.S_OK;
}
catch (Exception ex)
{
return (winmdroot.Foundation.HRESULT)ex.HResult;
}
}
internal winmdroot.System.Variant.VARIANT onmouseenter
{
set
{
((delegate *unmanaged [Stdcall]<IHTMLElement3*,winmdroot.System.Variant.VARIANT ,winmdroot.Foundation.HRESULT>)lpVtbl[40])((IHTMLElement3*)Unsafe.AsPointer(ref this), value).ThrowOnFailure();
}
get
{
winmdroot.System.Variant.VARIANT __result;
((delegate *unmanaged [Stdcall]<IHTMLElement3*,winmdroot.System.Variant.VARIANT* ,winmdroot.Foundation.HRESULT>)lpVtbl[41])((IHTMLElement3*)Unsafe.AsPointer(ref this), &__result).ThrowOnFailure();
return __result;
}
}
[UnmanagedCallersOnly(CallConvs = new []{
typeof(CallConvStdcall)}
)]
private static winmdroot.Foundation.HRESULT get_onmouseenter(IHTMLElement3* pThis, winmdroot.System.Variant.VARIANT* p)
{
try
{
winmdroot.Foundation.HRESULT __hr = ComHelpers.UnwrapCCW(pThis, out Interface __object);
if (__hr.Failed)
{
return __hr;
}
*p = __object.onmouseenter;
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_onmouseleave(IHTMLElement3* pThis, winmdroot.System.Variant.VARIANT v)
{
try
{
winmdroot.Foundation.HRESULT __hr = ComHelpers.UnwrapCCW(pThis, out Interface __object);
if (__hr.Failed)
{
return __hr;
}
__object.onmouseleave = v;
return winmdroot.Foundation.HRESULT.S_OK;
}
catch (Exception ex)
{
return (winmdroot.Foundation.HRESULT)ex.HResult;
}
}
internal winmdroot.System.Variant.VARIANT onmouseleave
{
set
{
((delegate *unmanaged [Stdcall]<IHTMLElement3*,winmdroot.System.Variant.VARIANT ,winmdroot.Foundation.HRESULT>)lpVtbl[42])((IHTMLElement3*)Unsafe.AsPointer(ref this), value).ThrowOnFailure();
}
get
{
winmdroot.System.Variant.VARIANT __result;
((delegate *unmanaged [Stdcall]<IHTMLElement3*,winmdroot.System.Variant.VARIANT* ,winmdroot.Foundation.HRESULT>)lpVtbl[43])((IHTMLElement3*)Unsafe.AsPointer(ref this), &__result).ThrowOnFailure();
return __result;
}
}
[UnmanagedCallersOnly(CallConvs = new []{
typeof(CallConvStdcall)}
)]
private static winmdroot.Foundation.HRESULT get_onmouseleave(IHTMLElement3* pThis, winmdroot.System.Variant.VARIANT* p)
{
try
{
winmdroot.Foundation.HRESULT __hr = ComHelpers.UnwrapCCW(pThis, out Interface __object);
if (__hr.Failed)
{
return __hr;
}
*p = __object.onmouseleave;
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_onactivate(IHTMLElement3* pThis, winmdroot.System.Variant.VARIANT v)
{
try
{
winmdroot.Foundation.HRESULT __hr = ComHelpers.UnwrapCCW(pThis, out Interface __object);
if (__hr.Failed)
{
return __hr;
}
__object.onactivate = v;
return winmdroot.Foundation.HRESULT.S_OK;
}
catch (Exception ex)
{
return (winmdroot.Foundation.HRESULT)ex.HResult;
}
}
internal winmdroot.System.Variant.VARIANT onactivate
{
set
{
((delegate *unmanaged [Stdcall]<IHTMLElement3*,winmdroot.System.Variant.VARIANT ,winmdroot.Foundation.HRESULT>)lpVtbl[44])((IHTMLElement3*)Unsafe.AsPointer(ref this), value).ThrowOnFailure();
}
get
{
winmdroot.System.Variant.VARIANT __result;
((delegate *unmanaged [Stdcall]<IHTMLElement3*,winmdroot.System.Variant.VARIANT* ,winmdroot.Foundation.HRESULT>)lpVtbl[45])((IHTMLElement3*)Unsafe.AsPointer(ref this), &__result).ThrowOnFailure();
return __result;
}
}
[UnmanagedCallersOnly(CallConvs = new []{
typeof(CallConvStdcall)}
)]
private static winmdroot.Foundation.HRESULT get_onactivate(IHTMLElement3* pThis, winmdroot.System.Variant.VARIANT* p)
{
try
{
winmdroot.Foundation.HRESULT __hr = ComHelpers.UnwrapCCW(pThis, out Interface __object);
if (__hr.Failed)
{
return __hr;
}
*p = __object.onactivate;
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_ondeactivate(IHTMLElement3* pThis, winmdroot.System.Variant.VARIANT v)
{
try
{
winmdroot.Foundation.HRESULT __hr = ComHelpers.UnwrapCCW(pThis, out Interface __object);
if (__hr.Failed)
{
return __hr;
}
__object.ondeactivate = v;
return winmdroot.Foundation.HRESULT.S_OK;
}
catch (Exception ex)
{
return (winmdroot.Foundation.HRESULT)ex.HResult;
}
}
internal winmdroot.System.Variant.VARIANT ondeactivate
{
set
{
((delegate *unmanaged [Stdcall]<IHTMLElement3*,winmdroot.System.Variant.VARIANT ,winmdroot.Foundation.HRESULT>)lpVtbl[46])((IHTMLElement3*)Unsafe.AsPointer(ref this), value).ThrowOnFailure();
}
get
{
winmdroot.System.Variant.VARIANT __result;
((delegate *unmanaged [Stdcall]<IHTMLElement3*,winmdroot.System.Variant.VARIANT* ,winmdroot.Foundation.HRESULT>)lpVtbl[47])((IHTMLElement3*)Unsafe.AsPointer(ref this), &__result).ThrowOnFailure();
return __result;
}
}
[UnmanagedCallersOnly(CallConvs = new []{
typeof(CallConvStdcall)}
)]
private static winmdroot.Foundation.HRESULT get_ondeactivate(IHTMLElement3* pThis, winmdroot.System.Variant.VARIANT* p)
{
try
{
winmdroot.Foundation.HRESULT __hr = ComHelpers.UnwrapCCW(pThis, out Interface __object);
if (__hr.Failed)
{
return __hr;
}
*p = __object.ondeactivate;
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 dragDrop(IHTMLElement3* pThis, winmdroot.Foundation.VARIANT_BOOL* pfRet)
{
try
{
winmdroot.Foundation.HRESULT __hr = ComHelpers.UnwrapCCW(pThis, out Interface __object);
if (__hr.Failed)
{
return __hr;
}
return __object.dragDrop(pfRet);
}
catch (Exception ex)
{
return (winmdroot.Foundation.HRESULT)ex.HResult;
}
}
public winmdroot.Foundation.VARIANT_BOOL dragDrop()
{
winmdroot.Foundation.VARIANT_BOOL __retVal = default(winmdroot.Foundation.VARIANT_BOOL);
((delegate *unmanaged [Stdcall]<IHTMLElement3*,winmdroot.Foundation.VARIANT_BOOL* ,winmdroot.Foundation.HRESULT>)lpVtbl[48])((IHTMLElement3*)Unsafe.AsPointer(ref this), &__retVal).ThrowOnFailure();
return __retVal;
}
[UnmanagedCallersOnly(CallConvs = new []{
typeof(CallConvStdcall)}
)]
private static winmdroot.Foundation.HRESULT get_glyphMode(IHTMLElement3* pThis, int* p)
{
try
{
winmdroot.Foundation.HRESULT __hr = ComHelpers.UnwrapCCW(pThis, out Interface __object);
if (__hr.Failed)
{
return __hr;
}
*p = __object.glyphMode;
return winmdroot.Foundation.HRESULT.S_OK;
}
catch (Exception ex)
{
return (winmdroot.Foundation.HRESULT)ex.HResult;
}
}
internal int glyphMode
{
get
{
int __result;
((delegate *unmanaged [Stdcall]<IHTMLElement3*,int* ,winmdroot.Foundation.HRESULT>)lpVtbl[49])((IHTMLElement3*)Unsafe.AsPointer(ref this), &__result).ThrowOnFailure();
return __result;
}
}
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]<IHTMLElement3*,global::System.Guid* ,void** ,winmdroot.Foundation.HRESULT> QueryInterface_1;
internal delegate *unmanaged [Stdcall]<IHTMLElement3*,uint> AddRef_2;
internal delegate *unmanaged [Stdcall]<IHTMLElement3*,uint> Release_3;
internal delegate *unmanaged [Stdcall]<IHTMLElement3*,uint* ,winmdroot.Foundation.HRESULT> GetTypeInfoCount_4;
internal delegate *unmanaged [Stdcall]<IHTMLElement3*,uint ,uint ,winmdroot.System.Com.ITypeInfo** ,winmdroot.Foundation.HRESULT> GetTypeInfo_5;
internal delegate *unmanaged [Stdcall]<IHTMLElement3*,global::System.Guid* ,winmdroot.Foundation.PWSTR* ,uint ,uint ,int* ,winmdroot.Foundation.HRESULT> GetIDsOfNames_6;
internal delegate *unmanaged [Stdcall]<IHTMLElement3*,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]<IHTMLElement3*,winmdroot.Web.MsHtml.IHTMLElement* ,winmdroot.System.Variant.VARIANT* ,winmdroot.Foundation.HRESULT> mergeAttributes_8;
internal delegate *unmanaged [Stdcall]<IHTMLElement3*,winmdroot.Foundation.VARIANT_BOOL* ,winmdroot.Foundation.HRESULT> get_isMultiLine_9;
internal delegate *unmanaged [Stdcall]<IHTMLElement3*,winmdroot.Foundation.VARIANT_BOOL* ,winmdroot.Foundation.HRESULT> get_canHaveHTML_10;
internal delegate *unmanaged [Stdcall]<IHTMLElement3*,winmdroot.System.Variant.VARIANT ,winmdroot.Foundation.HRESULT> put_onlayoutcomplete_11;
internal delegate *unmanaged [Stdcall]<IHTMLElement3*,winmdroot.System.Variant.VARIANT* ,winmdroot.Foundation.HRESULT> get_onlayoutcomplete_12;
internal delegate *unmanaged [Stdcall]<IHTMLElement3*,winmdroot.System.Variant.VARIANT ,winmdroot.Foundation.HRESULT> put_onpage_13;
internal delegate *unmanaged [Stdcall]<IHTMLElement3*,winmdroot.System.Variant.VARIANT* ,winmdroot.Foundation.HRESULT> get_onpage_14;
internal delegate *unmanaged [Stdcall]<IHTMLElement3*,winmdroot.Foundation.VARIANT_BOOL ,winmdroot.Foundation.HRESULT> put_inflateBlock_15;
internal delegate *unmanaged [Stdcall]<IHTMLElement3*,winmdroot.Foundation.VARIANT_BOOL* ,winmdroot.Foundation.HRESULT> get_inflateBlock_16;
internal delegate *unmanaged [Stdcall]<IHTMLElement3*,winmdroot.System.Variant.VARIANT ,winmdroot.Foundation.HRESULT> put_onbeforedeactivate_17;
internal delegate *unmanaged [Stdcall]<IHTMLElement3*,winmdroot.System.Variant.VARIANT* ,winmdroot.Foundation.HRESULT> get_onbeforedeactivate_18;
internal delegate *unmanaged [Stdcall]<IHTMLElement3*,winmdroot.Foundation.HRESULT> setActive_19;
internal delegate *unmanaged [Stdcall]<IHTMLElement3*,winmdroot.Foundation.BSTR ,winmdroot.Foundation.HRESULT> put_contentEditable_20;
internal delegate *unmanaged [Stdcall]<IHTMLElement3*,winmdroot.Foundation.BSTR* ,winmdroot.Foundation.HRESULT> get_contentEditable_21;
internal delegate *unmanaged [Stdcall]<IHTMLElement3*,winmdroot.Foundation.VARIANT_BOOL* ,winmdroot.Foundation.HRESULT> get_isContentEditable_22;
internal delegate *unmanaged [Stdcall]<IHTMLElement3*,winmdroot.Foundation.VARIANT_BOOL ,winmdroot.Foundation.HRESULT> put_hideFocus_23;
internal delegate *unmanaged [Stdcall]<IHTMLElement3*,winmdroot.Foundation.VARIANT_BOOL* ,winmdroot.Foundation.HRESULT> get_hideFocus_24;
internal delegate *unmanaged [Stdcall]<IHTMLElement3*,winmdroot.Foundation.VARIANT_BOOL ,winmdroot.Foundation.HRESULT> put_disabled_25;
internal delegate *unmanaged [Stdcall]<IHTMLElement3*,winmdroot.Foundation.VARIANT_BOOL* ,winmdroot.Foundation.HRESULT> get_disabled_26;
internal delegate *unmanaged [Stdcall]<IHTMLElement3*,winmdroot.Foundation.VARIANT_BOOL* ,winmdroot.Foundation.HRESULT> get_isDisabled_27;
internal delegate *unmanaged [Stdcall]<IHTMLElement3*,winmdroot.System.Variant.VARIANT ,winmdroot.Foundation.HRESULT> put_onmove_28;
internal delegate *unmanaged [Stdcall]<IHTMLElement3*,winmdroot.System.Variant.VARIANT* ,winmdroot.Foundation.HRESULT> get_onmove_29;
internal delegate *unmanaged [Stdcall]<IHTMLElement3*,winmdroot.System.Variant.VARIANT ,winmdroot.Foundation.HRESULT> put_oncontrolselect_30;
internal delegate *unmanaged [Stdcall]<IHTMLElement3*,winmdroot.System.Variant.VARIANT* ,winmdroot.Foundation.HRESULT> get_oncontrolselect_31;
internal delegate *unmanaged [Stdcall]<IHTMLElement3*,winmdroot.Foundation.BSTR ,winmdroot.System.Variant.VARIANT* ,winmdroot.Foundation.VARIANT_BOOL* ,winmdroot.Foundation.HRESULT> fireEvent_32;
internal delegate *unmanaged [Stdcall]<IHTMLElement3*,winmdroot.System.Variant.VARIANT ,winmdroot.Foundation.HRESULT> put_onresizestart_33;
internal delegate *unmanaged [Stdcall]<IHTMLElement3*,winmdroot.System.Variant.VARIANT* ,winmdroot.Foundation.HRESULT> get_onresizestart_34;
internal delegate *unmanaged [Stdcall]<IHTMLElement3*,winmdroot.System.Variant.VARIANT ,winmdroot.Foundation.HRESULT> put_onresizeend_35;
internal delegate *unmanaged [Stdcall]<IHTMLElement3*,winmdroot.System.Variant.VARIANT* ,winmdroot.Foundation.HRESULT> get_onresizeend_36;
internal delegate *unmanaged [Stdcall]<IHTMLElement3*,winmdroot.System.Variant.VARIANT ,winmdroot.Foundation.HRESULT> put_onmovestart_37;
internal delegate *unmanaged [Stdcall]<IHTMLElement3*,winmdroot.System.Variant.VARIANT* ,winmdroot.Foundation.HRESULT> get_onmovestart_38;
internal delegate *unmanaged [Stdcall]<IHTMLElement3*,winmdroot.System.Variant.VARIANT ,winmdroot.Foundation.HRESULT> put_onmoveend_39;
internal delegate *unmanaged [Stdcall]<IHTMLElement3*,winmdroot.System.Variant.VARIANT* ,winmdroot.Foundation.HRESULT> get_onmoveend_40;
internal delegate *unmanaged [Stdcall]<IHTMLElement3*,winmdroot.System.Variant.VARIANT ,winmdroot.Foundation.HRESULT> put_onmouseenter_41;
internal delegate *unmanaged [Stdcall]<IHTMLElement3*,winmdroot.System.Variant.VARIANT* ,winmdroot.Foundation.HRESULT> get_onmouseenter_42;
internal delegate *unmanaged [Stdcall]<IHTMLElement3*,winmdroot.System.Variant.VARIANT ,winmdroot.Foundation.HRESULT> put_onmouseleave_43;
internal delegate *unmanaged [Stdcall]<IHTMLElement3*,winmdroot.System.Variant.VARIANT* ,winmdroot.Foundation.HRESULT> get_onmouseleave_44;
internal delegate *unmanaged [Stdcall]<IHTMLElement3*,winmdroot.System.Variant.VARIANT ,winmdroot.Foundation.HRESULT> put_onactivate_45;
internal delegate *unmanaged [Stdcall]<IHTMLElement3*,winmdroot.System.Variant.VARIANT* ,winmdroot.Foundation.HRESULT> get_onactivate_46;
internal delegate *unmanaged [Stdcall]<IHTMLElement3*,winmdroot.System.Variant.VARIANT ,winmdroot.Foundation.HRESULT> put_ondeactivate_47;
internal delegate *unmanaged [Stdcall]<IHTMLElement3*,winmdroot.System.Variant.VARIANT* ,winmdroot.Foundation.HRESULT> get_ondeactivate_48;
internal delegate *unmanaged [Stdcall]<IHTMLElement3*,winmdroot.Foundation.VARIANT_BOOL* ,winmdroot.Foundation.HRESULT> dragDrop_49;
internal delegate *unmanaged [Stdcall]<IHTMLElement3*,int* ,winmdroot.Foundation.HRESULT> get_glyphMode_50;
}
public static void PopulateVTable(Vtbl* vtable)
{
vtable->mergeAttributes_8 = &mergeAttributes;
vtable->get_isMultiLine_9 = &get_isMultiLine;
vtable->get_canHaveHTML_10 = &get_canHaveHTML;
vtable->put_onlayoutcomplete_11 = &put_onlayoutcomplete;
vtable->get_onlayoutcomplete_12 = &get_onlayoutcomplete;
vtable->put_onpage_13 = &put_onpage;
vtable->get_onpage_14 = &get_onpage;
vtable->put_inflateBlock_15 = &put_inflateBlock;
vtable->get_inflateBlock_16 = &get_inflateBlock;
vtable->put_onbeforedeactivate_17 = &put_onbeforedeactivate;
vtable->get_onbeforedeactivate_18 = &get_onbeforedeactivate;
vtable->setActive_19 = &setActive;
vtable->put_contentEditable_20 = &put_contentEditable;
vtable->get_contentEditable_21 = &get_contentEditable;
vtable->get_isContentEditable_22 = &get_isContentEditable;
vtable->put_hideFocus_23 = &put_hideFocus;
vtable->get_hideFocus_24 = &get_hideFocus;
vtable->put_disabled_25 = &put_disabled;
vtable->get_disabled_26 = &get_disabled;
vtable->get_isDisabled_27 = &get_isDisabled;
vtable->put_onmove_28 = &put_onmove;
vtable->get_onmove_29 = &get_onmove;
vtable->put_oncontrolselect_30 = &put_oncontrolselect;
vtable->get_oncontrolselect_31 = &get_oncontrolselect;
vtable->fireEvent_32 = &fireEvent;
vtable->put_onresizestart_33 = &put_onresizestart;
vtable->get_onresizestart_34 = &get_onresizestart;
vtable->put_onresizeend_35 = &put_onresizeend;
vtable->get_onresizeend_36 = &get_onresizeend;
vtable->put_onmovestart_37 = &put_onmovestart;
vtable->get_onmovestart_38 = &get_onmovestart;
vtable->put_onmoveend_39 = &put_onmoveend;
vtable->get_onmoveend_40 = &get_onmoveend;
vtable->put_onmouseenter_41 = &put_onmouseenter;
vtable->get_onmouseenter_42 = &get_onmouseenter;
vtable->put_onmouseleave_43 = &put_onmouseleave;
vtable->get_onmouseleave_44 = &get_onmouseleave;
vtable->put_onactivate_45 = &put_onactivate;
vtable->get_onactivate_46 = &get_onactivate;
vtable->put_ondeactivate_47 = &put_ondeactivate;
vtable->get_ondeactivate_48 = &get_ondeactivate;
vtable->dragDrop_49 = &dragDrop;
vtable->get_glyphMode_50 = &get_glyphMode;
}
private void** lpVtbl;
/// <summary>The IID guid for this interface.</summary>
/// <value>{3050f673-98b5-11cf-bb82-00aa00bdce0b}</value>
internal static readonly Guid IID_Guid = new Guid(0x3050F673, 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[] {
0x73,0xF6,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("3050F673-98B5-11CF-BB82-00AA00BDCE0B"),InterfaceType(ComInterfaceType.InterfaceIsDual),ComImport()]
internal interface Interface
{
[PreserveSig()]
unsafe winmdroot.Foundation.HRESULT mergeAttributes(winmdroot.Web.MsHtml.IHTMLElement* mergeThis, winmdroot.System.Variant.VARIANT* pvarFlags);
winmdroot.Foundation.VARIANT_BOOL isMultiLine
{
get;
}
winmdroot.Foundation.VARIANT_BOOL canHaveHTML
{
get;
}
winmdroot.System.Variant.VARIANT onlayoutcomplete
{
set;
get;
}
winmdroot.System.Variant.VARIANT onpage
{
set;
get;
}
winmdroot.Foundation.VARIANT_BOOL inflateBlock
{
set;
get;
}
winmdroot.System.Variant.VARIANT onbeforedeactivate
{
set;
get;
}
[PreserveSig()]
winmdroot.Foundation.HRESULT setActive();
winmdroot.Foundation.BSTR contentEditable
{
set;
get;
}
winmdroot.Foundation.VARIANT_BOOL isContentEditable
{
get;
}
winmdroot.Foundation.VARIANT_BOOL hideFocus
{
set;
get;
}
[PreserveSig()]
winmdroot.Foundation.HRESULT put_disabled(winmdroot.Foundation.VARIANT_BOOL v);
[PreserveSig()]
unsafe winmdroot.Foundation.HRESULT get_disabled(winmdroot.Foundation.VARIANT_BOOL* p);
winmdroot.Foundation.VARIANT_BOOL isDisabled
{
get;
}
winmdroot.System.Variant.VARIANT onmove
{
set;
get;
}
winmdroot.System.Variant.VARIANT oncontrolselect
{
set;
get;
}
[PreserveSig()]
unsafe winmdroot.Foundation.HRESULT fireEvent(winmdroot.Foundation.BSTR bstrEventName, winmdroot.System.Variant.VARIANT* pvarEventObject, winmdroot.Foundation.VARIANT_BOOL* pfCancelled);
winmdroot.System.Variant.VARIANT onresizestart
{
set;
get;
}
winmdroot.System.Variant.VARIANT onresizeend
{
set;
get;
}
winmdroot.System.Variant.VARIANT onmovestart
{
set;
get;
}
winmdroot.System.Variant.VARIANT onmoveend
{
set;
get;
}
winmdroot.System.Variant.VARIANT onmouseenter
{
set;
get;
}
winmdroot.System.Variant.VARIANT onmouseleave
{
set;
get;
}
winmdroot.System.Variant.VARIANT onactivate
{
set;
get;
}
winmdroot.System.Variant.VARIANT ondeactivate
{
set;
get;
}
[PreserveSig()]
unsafe winmdroot.Foundation.HRESULT dragDrop(winmdroot.Foundation.VARIANT_BOOL* pfRet);
int glyphMode
{
get;
}
}
}
}
}
|