File: Windows.Win32.System_Com_StructuredStorage_IStorage_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_Com_StructuredStorage_IStorage_Extensions
	{
		/// <inheritdoc cref="winmdroot.System.Com.StructuredStorage.IStorage.Interface.CreateStream(winmdroot.Foundation.PCWSTR, winmdroot.System.Com.STGM, uint, uint, winmdroot.System.Com.IStream**)"/>
		internal static unsafe winmdroot.Foundation.HRESULT CreateStream(this winmdroot.System.Com.StructuredStorage.IStorage.Interface @this, string pwcsName, winmdroot.System.Com.STGM grfMode, uint reserved1, uint reserved2, winmdroot.System.Com.IStream** ppstm)
		{
			fixed (char* pwcsNameLocal = pwcsName)
			{
				winmdroot.Foundation.HRESULT __result = @this.CreateStream(pwcsNameLocal, grfMode, reserved1, reserved2, ppstm);
				return __result;
			}
		}

		/// <inheritdoc cref="winmdroot.System.Com.StructuredStorage.IStorage.Interface.OpenStream(winmdroot.Foundation.PCWSTR, void*, winmdroot.System.Com.STGM, uint, winmdroot.System.Com.IStream**)"/>
		internal static unsafe winmdroot.Foundation.HRESULT OpenStream(this winmdroot.System.Com.StructuredStorage.IStorage.Interface @this, string pwcsName, winmdroot.System.Com.STGM grfMode, uint reserved2, winmdroot.System.Com.IStream** ppstm)
		{
			fixed (char* pwcsNameLocal = pwcsName)
			{
				winmdroot.Foundation.HRESULT __result = @this.OpenStream(pwcsNameLocal, default, grfMode, reserved2, ppstm);
				return __result;
			}
		}

		/// <inheritdoc cref="winmdroot.System.Com.StructuredStorage.IStorage.Interface.CreateStorage(winmdroot.Foundation.PCWSTR, winmdroot.System.Com.STGM, uint, uint, winmdroot.System.Com.StructuredStorage.IStorage**)"/>
		internal static unsafe winmdroot.Foundation.HRESULT CreateStorage(this winmdroot.System.Com.StructuredStorage.IStorage.Interface @this, string pwcsName, winmdroot.System.Com.STGM grfMode, uint reserved1, uint reserved2, winmdroot.System.Com.StructuredStorage.IStorage** ppstg)
		{
			fixed (char* pwcsNameLocal = pwcsName)
			{
				winmdroot.Foundation.HRESULT __result = @this.CreateStorage(pwcsNameLocal, grfMode, reserved1, reserved2, ppstg);
				return __result;
			}
		}

		/// <inheritdoc cref="winmdroot.System.Com.StructuredStorage.IStorage.Interface.OpenStorage(winmdroot.Foundation.PCWSTR, winmdroot.System.Com.StructuredStorage.IStorage*, winmdroot.System.Com.STGM, ushort**, uint, winmdroot.System.Com.StructuredStorage.IStorage**)"/>
		internal static unsafe winmdroot.Foundation.HRESULT OpenStorage(this winmdroot.System.Com.StructuredStorage.IStorage.Interface @this, string pwcsName, winmdroot.System.Com.StructuredStorage.IStorage* pstgPriority, winmdroot.System.Com.STGM grfMode, in ushort* snbExclude, uint reserved, winmdroot.System.Com.StructuredStorage.IStorage** ppstg)
		{
			fixed (ushort** snbExcludeLocal = &snbExclude)
			{
				fixed (char* pwcsNameLocal = pwcsName)
				{
					winmdroot.Foundation.HRESULT __result = @this.OpenStorage(pwcsNameLocal, pstgPriority, grfMode, snbExcludeLocal, reserved, ppstg);
					return __result;
				}
			}
		}

		/// <inheritdoc cref="winmdroot.System.Com.StructuredStorage.IStorage.Interface.CopyTo(uint, global::System.Guid*, ushort**, winmdroot.System.Com.StructuredStorage.IStorage*)"/>
		internal static unsafe winmdroot.Foundation.HRESULT CopyTo(this winmdroot.System.Com.StructuredStorage.IStorage.Interface @this, ReadOnlySpan<global::System.Guid> rgiidExclude, ushort** snbExclude, winmdroot.System.Com.StructuredStorage.IStorage* pstgDest)
		{
			fixed (global::System.Guid* rgiidExcludeLocal = rgiidExclude)
			{
				winmdroot.Foundation.HRESULT __result = @this.CopyTo((uint )rgiidExclude.Length, rgiidExcludeLocal, snbExclude, pstgDest);
				return __result;
			}
		}

		/// <inheritdoc cref="winmdroot.System.Com.StructuredStorage.IStorage.Interface.MoveElementTo(winmdroot.Foundation.PCWSTR, winmdroot.System.Com.StructuredStorage.IStorage*, winmdroot.Foundation.PCWSTR, uint)"/>
		internal static unsafe winmdroot.Foundation.HRESULT MoveElementTo(this winmdroot.System.Com.StructuredStorage.IStorage.Interface @this, string pwcsName, winmdroot.System.Com.StructuredStorage.IStorage* pstgDest, string pwcsNewName, uint grfFlags)
		{
			fixed (char* pwcsNewNameLocal = pwcsNewName)
			{
				fixed (char* pwcsNameLocal = pwcsName)
				{
					winmdroot.Foundation.HRESULT __result = @this.MoveElementTo(pwcsNameLocal, pstgDest, pwcsNewNameLocal, grfFlags);
					return __result;
				}
			}
		}

		/// <inheritdoc cref="winmdroot.System.Com.StructuredStorage.IStorage.Interface.EnumElements(uint, void*, uint, winmdroot.System.Com.StructuredStorage.IEnumSTATSTG**)"/>
		internal static unsafe winmdroot.Foundation.HRESULT EnumElements(this winmdroot.System.Com.StructuredStorage.IStorage.Interface @this, winmdroot.System.Com.StructuredStorage.IEnumSTATSTG** ppenum)
		{
			winmdroot.Foundation.HRESULT __result = @this.EnumElements(default, default, default, ppenum);
			return __result;
		}

		/// <inheritdoc cref="winmdroot.System.Com.StructuredStorage.IStorage.Interface.DestroyElement(winmdroot.Foundation.PCWSTR)"/>
		internal static unsafe winmdroot.Foundation.HRESULT DestroyElement(this winmdroot.System.Com.StructuredStorage.IStorage.Interface @this, string pwcsName)
		{
			fixed (char* pwcsNameLocal = pwcsName)
			{
				winmdroot.Foundation.HRESULT __result = @this.DestroyElement(pwcsNameLocal);
				return __result;
			}
		}

		/// <inheritdoc cref="winmdroot.System.Com.StructuredStorage.IStorage.Interface.RenameElement(winmdroot.Foundation.PCWSTR, winmdroot.Foundation.PCWSTR)"/>
		internal static unsafe winmdroot.Foundation.HRESULT RenameElement(this winmdroot.System.Com.StructuredStorage.IStorage.Interface @this, string pwcsOldName, string pwcsNewName)
		{
			fixed (char* pwcsNewNameLocal = pwcsNewName)
			{
				fixed (char* pwcsOldNameLocal = pwcsOldName)
				{
					winmdroot.Foundation.HRESULT __result = @this.RenameElement(pwcsOldNameLocal, pwcsNewNameLocal);
					return __result;
				}
			}
		}

		/// <inheritdoc cref="winmdroot.System.Com.StructuredStorage.IStorage.Interface.SetElementTimes(winmdroot.Foundation.PCWSTR, global::System.Runtime.InteropServices.ComTypes.FILETIME*, global::System.Runtime.InteropServices.ComTypes.FILETIME*, global::System.Runtime.InteropServices.ComTypes.FILETIME*)"/>
		internal static unsafe winmdroot.Foundation.HRESULT SetElementTimes(this winmdroot.System.Com.StructuredStorage.IStorage.Interface @this, string pwcsName, in global::System.Runtime.InteropServices.ComTypes.FILETIME pctime, in global::System.Runtime.InteropServices.ComTypes.FILETIME patime, in global::System.Runtime.InteropServices.ComTypes.FILETIME pmtime)
		{
			fixed (global::System.Runtime.InteropServices.ComTypes.FILETIME* pmtimeLocal = &pmtime)
			{
				fixed (global::System.Runtime.InteropServices.ComTypes.FILETIME* patimeLocal = &patime)
				{
					fixed (global::System.Runtime.InteropServices.ComTypes.FILETIME* pctimeLocal = &pctime)
					{
						fixed (char* pwcsNameLocal = pwcsName)
						{
							winmdroot.Foundation.HRESULT __result = @this.SetElementTimes(pwcsNameLocal, pctimeLocal, patimeLocal, pmtimeLocal);
							return __result;
						}
					}
				}
			}
		}

		/// <inheritdoc cref="winmdroot.System.Com.StructuredStorage.IStorage.Interface.SetClass(global::System.Guid*)"/>
		internal static unsafe winmdroot.Foundation.HRESULT SetClass(this winmdroot.System.Com.StructuredStorage.IStorage.Interface @this, in global::System.Guid clsid)
		{
			fixed (global::System.Guid* clsidLocal = &clsid)
			{
				winmdroot.Foundation.HRESULT __result = @this.SetClass(clsidLocal);
				return __result;
			}
		}

		/// <inheritdoc cref="winmdroot.System.Com.StructuredStorage.IStorage.Interface.Stat(winmdroot.System.Com.STATSTG*, uint)"/>
		internal static unsafe winmdroot.Foundation.HRESULT Stat(this winmdroot.System.Com.StructuredStorage.IStorage.Interface @this, out winmdroot.System.Com.STATSTG pstatstg, uint grfStatFlag)
		{
			fixed (winmdroot.System.Com.STATSTG* pstatstgLocal = &pstatstg)
			{
				winmdroot.Foundation.HRESULT __result = @this.Stat(pstatstgLocal, grfStatFlag);
				return __result;
			}
		}
	}
}