|
// ------------------------------------------------------------------------------
// <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_IRecordInfo_Extensions
{
/// <inheritdoc cref="winmdroot.System.Ole.IRecordInfo.Interface.GetGuid(global::System.Guid*)"/>
internal static unsafe winmdroot.Foundation.HRESULT GetGuid(this winmdroot.System.Ole.IRecordInfo.Interface @this, out global::System.Guid pguid)
{
fixed (global::System.Guid* pguidLocal = &pguid)
{
winmdroot.Foundation.HRESULT __result = @this.GetGuid(pguidLocal);
return __result;
}
}
/// <inheritdoc cref="winmdroot.System.Ole.IRecordInfo.Interface.GetSize(uint*)"/>
internal static unsafe winmdroot.Foundation.HRESULT GetSize(this winmdroot.System.Ole.IRecordInfo.Interface @this, out uint pcbSize)
{
fixed (uint* pcbSizeLocal = &pcbSize)
{
winmdroot.Foundation.HRESULT __result = @this.GetSize(pcbSizeLocal);
return __result;
}
}
/// <inheritdoc cref="winmdroot.System.Ole.IRecordInfo.Interface.GetField(void*, winmdroot.Foundation.PCWSTR, winmdroot.System.Variant.VARIANT*)"/>
internal static unsafe winmdroot.Foundation.HRESULT GetField(this winmdroot.System.Ole.IRecordInfo.Interface @this, void* pvData, string szFieldName, out winmdroot.System.Variant.VARIANT pvarField)
{
fixed (winmdroot.System.Variant.VARIANT* pvarFieldLocal = &pvarField)
{
fixed (char* szFieldNameLocal = szFieldName)
{
winmdroot.Foundation.HRESULT __result = @this.GetField(pvData, szFieldNameLocal, pvarFieldLocal);
return __result;
}
}
}
/// <inheritdoc cref="winmdroot.System.Ole.IRecordInfo.Interface.GetFieldNoCopy(void*, winmdroot.Foundation.PCWSTR, winmdroot.System.Variant.VARIANT*, void**)"/>
internal static unsafe winmdroot.Foundation.HRESULT GetFieldNoCopy(this winmdroot.System.Ole.IRecordInfo.Interface @this, void* pvData, string szFieldName, out winmdroot.System.Variant.VARIANT pvarField, out void* ppvDataCArray)
{
fixed (void** ppvDataCArrayLocal = &ppvDataCArray)
{
fixed (winmdroot.System.Variant.VARIANT* pvarFieldLocal = &pvarField)
{
fixed (char* szFieldNameLocal = szFieldName)
{
winmdroot.Foundation.HRESULT __result = @this.GetFieldNoCopy(pvData, szFieldNameLocal, pvarFieldLocal, ppvDataCArrayLocal);
return __result;
}
}
}
}
/// <inheritdoc cref="winmdroot.System.Ole.IRecordInfo.Interface.PutField(uint, void*, winmdroot.Foundation.PCWSTR, winmdroot.System.Variant.VARIANT*)"/>
internal static unsafe winmdroot.Foundation.HRESULT PutField(this winmdroot.System.Ole.IRecordInfo.Interface @this, uint wFlags, void* pvData, string szFieldName, in winmdroot.System.Variant.VARIANT pvarField)
{
fixed (winmdroot.System.Variant.VARIANT* pvarFieldLocal = &pvarField)
{
fixed (char* szFieldNameLocal = szFieldName)
{
winmdroot.Foundation.HRESULT __result = @this.PutField(wFlags, pvData, szFieldNameLocal, pvarFieldLocal);
return __result;
}
}
}
/// <inheritdoc cref="winmdroot.System.Ole.IRecordInfo.Interface.PutFieldNoCopy(uint, void*, winmdroot.Foundation.PCWSTR, winmdroot.System.Variant.VARIANT*)"/>
internal static unsafe winmdroot.Foundation.HRESULT PutFieldNoCopy(this winmdroot.System.Ole.IRecordInfo.Interface @this, uint wFlags, void* pvData, string szFieldName, in winmdroot.System.Variant.VARIANT pvarField)
{
fixed (winmdroot.System.Variant.VARIANT* pvarFieldLocal = &pvarField)
{
fixed (char* szFieldNameLocal = szFieldName)
{
winmdroot.Foundation.HRESULT __result = @this.PutFieldNoCopy(wFlags, pvData, szFieldNameLocal, pvarFieldLocal);
return __result;
}
}
}
/// <inheritdoc cref="winmdroot.System.Ole.IRecordInfo.Interface.GetFieldNames(uint*, winmdroot.Foundation.BSTR*)"/>
internal static unsafe winmdroot.Foundation.HRESULT GetFieldNames(this winmdroot.System.Ole.IRecordInfo.Interface @this, ref uint pcNames, winmdroot.Foundation.BSTR* rgBstrNames)
{
fixed (uint* pcNamesLocal = &pcNames)
{
winmdroot.Foundation.HRESULT __result = @this.GetFieldNames(pcNamesLocal, rgBstrNames);
return __result;
}
}
/// <inheritdoc cref="winmdroot.System.Ole.IRecordInfo.Interface.RecordCreateCopy(void*, void**)"/>
internal static unsafe winmdroot.Foundation.HRESULT RecordCreateCopy(this winmdroot.System.Ole.IRecordInfo.Interface @this, void* pvSource, out void* ppvDest)
{
fixed (void** ppvDestLocal = &ppvDest)
{
winmdroot.Foundation.HRESULT __result = @this.RecordCreateCopy(pvSource, ppvDestLocal);
return __result;
}
}
}
}
|