File: Windows.Win32.System_Ole_IDispatchEx_Extensions.g.cs
Project: src\src\System.Private.Windows.Core\src\System.Private.Windows.Core.csproj (System.Private.Windows.Core)
// ------------------------------------------------------------------------------
// <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
{
	[global::System.CodeDom.Compiler.GeneratedCode("Microsoft.Windows.CsWin32", "0.3.151+58e949951d.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, winmdroot.System.Variant.VARIANT* pvarRes, winmdroot.System.Com.EXCEPINFO* pei, winmdroot.System.Com.IServiceProvider* pspCaller)
		{
			fixed (winmdroot.System.Com.DISPPARAMS* pdpLocal = &pdp)
			{
				winmdroot.Foundation.HRESULT __result = @this.InvokeEx(id, lcid, wFlags, pdpLocal, pvarRes, pei, 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.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;
			}
		}
	}
}