|
// ------------------------------------------------------------------------------
// <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,SYSLIB1092,CS3021,CS3019
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
{
[global::System.CodeDom.Compiler.GeneratedCode("Microsoft.Windows.CsWin32", "0.3.287+85e3fa26dd.RR")]
internal static partial class System_Ole_IDispatchEx_Extensions
{
/// <inheritdoc cref="winmdroot.System.Ole.IDispatchEx.Interface.GetDispID(winmdroot.Foundation.BSTR, uint, int*)"/>
internal static unsafe winmdroot.Foundation.HRESULT GetDispID(this winmdroot.System.Ole.IDispatchEx.Interface @this, winmdroot.Foundation.BSTR bstrName, uint grfdex, out int pid)
{
fixed (int* pidLocal = &pid)
{
winmdroot.Foundation.HRESULT __result = @this.GetDispID(bstrName, grfdex, pidLocal);
return __result;
}
}
/// <inheritdoc cref="winmdroot.System.Ole.IDispatchEx.Interface.InvokeEx(int, uint, ushort, winmdroot.System.Com.DISPPARAMS*, winmdroot.System.Variant.VARIANT*, winmdroot.System.Com.EXCEPINFO*, winmdroot.System.Com.IServiceProvider*)"/>
internal static unsafe winmdroot.Foundation.HRESULT InvokeEx(this winmdroot.System.Ole.IDispatchEx.Interface @this, int id, uint lcid, ushort wFlags, in winmdroot.System.Com.DISPPARAMS pdp, out winmdroot.System.Variant.VARIANT pvarRes, out winmdroot.System.Com.EXCEPINFO pei, [Optional] winmdroot.System.Com.IServiceProvider* pspCaller)
{
fixed (winmdroot.System.Com.EXCEPINFO* peiLocal = &pei)
{
fixed (winmdroot.System.Variant.VARIANT* pvarResLocal = &pvarRes)
{
fixed (winmdroot.System.Com.DISPPARAMS* pdpLocal = &pdp)
{
winmdroot.Foundation.HRESULT __result = @this.InvokeEx(id, lcid, wFlags, pdpLocal, pvarResLocal, peiLocal, pspCaller);
return __result;
}
}
}
}
/// <inheritdoc cref="winmdroot.System.Ole.IDispatchEx.Interface.InvokeEx(int, uint, ushort, winmdroot.System.Com.DISPPARAMS*, winmdroot.System.Variant.VARIANT*, winmdroot.System.Com.EXCEPINFO*, winmdroot.System.Com.IServiceProvider*)"/>
internal static unsafe winmdroot.Foundation.HRESULT InvokeEx(this winmdroot.System.Ole.IDispatchEx.Interface @this, int id, uint lcid, ushort wFlags, in winmdroot.System.Com.DISPPARAMS pdp, [Optional] winmdroot.System.Com.IServiceProvider* pspCaller)
{
fixed (winmdroot.System.Com.DISPPARAMS* pdpLocal = &pdp)
{
winmdroot.Foundation.HRESULT __result = @this.InvokeEx(id, lcid, wFlags, pdpLocal, default(winmdroot.System.Variant.VARIANT* ), default(winmdroot.System.Com.EXCEPINFO* ), pspCaller);
return __result;
}
}
/// <inheritdoc cref="winmdroot.System.Ole.IDispatchEx.Interface.GetMemberProperties(int, uint, winmdroot.System.Ole.FDEX_PROP_FLAGS*)"/>
internal static unsafe winmdroot.Foundation.HRESULT GetMemberProperties(this winmdroot.System.Ole.IDispatchEx.Interface @this, int id, uint grfdexFetch, out winmdroot.System.Ole.FDEX_PROP_FLAGS pgrfdex)
{
fixed (winmdroot.System.Ole.FDEX_PROP_FLAGS* pgrfdexLocal = &pgrfdex)
{
winmdroot.Foundation.HRESULT __result = @this.GetMemberProperties(id, grfdexFetch, pgrfdexLocal);
return __result;
}
}
/// <inheritdoc cref="winmdroot.System.Ole.IDispatchEx.Interface.GetMemberName(int, winmdroot.Foundation.BSTR*)"/>
internal static unsafe winmdroot.Foundation.HRESULT GetMemberName(this winmdroot.System.Ole.IDispatchEx.Interface @this, int id, out winmdroot.Foundation.BSTR pbstrName)
{
fixed (winmdroot.Foundation.BSTR* pbstrNameLocal = &pbstrName)
{
winmdroot.Foundation.HRESULT __result = @this.GetMemberName(id, pbstrNameLocal);
return __result;
}
}
/// <inheritdoc cref="winmdroot.System.Ole.IDispatchEx.Interface.GetNextDispID(uint, int, int*)"/>
internal static unsafe winmdroot.Foundation.HRESULT GetNextDispID(this winmdroot.System.Ole.IDispatchEx.Interface @this, uint grfdex, int id, out int pid)
{
fixed (int* pidLocal = &pid)
{
winmdroot.Foundation.HRESULT __result = @this.GetNextDispID(grfdex, id, pidLocal);
return __result;
}
}
}
}
|