|
// ------------------------------------------------------------------------------
// <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 UI_Shell_IFileDialogCustomize_Extensions
{
/// <inheritdoc cref="winmdroot.UI.Shell.IFileDialogCustomize.Interface.AddMenu(uint, winmdroot.Foundation.PCWSTR)"/>
internal static unsafe winmdroot.Foundation.HRESULT AddMenu(this winmdroot.UI.Shell.IFileDialogCustomize.Interface @this, uint dwIDCtl, string pszLabel)
{
fixed (char* pszLabelLocal = pszLabel)
{
winmdroot.Foundation.HRESULT __result = @this.AddMenu(dwIDCtl, pszLabelLocal);
return __result;
}
}
/// <inheritdoc cref="winmdroot.UI.Shell.IFileDialogCustomize.Interface.AddPushButton(uint, winmdroot.Foundation.PCWSTR)"/>
internal static unsafe winmdroot.Foundation.HRESULT AddPushButton(this winmdroot.UI.Shell.IFileDialogCustomize.Interface @this, uint dwIDCtl, string pszLabel)
{
fixed (char* pszLabelLocal = pszLabel)
{
winmdroot.Foundation.HRESULT __result = @this.AddPushButton(dwIDCtl, pszLabelLocal);
return __result;
}
}
/// <inheritdoc cref="winmdroot.UI.Shell.IFileDialogCustomize.Interface.AddCheckButton(uint, winmdroot.Foundation.PCWSTR, winmdroot.Foundation.BOOL)"/>
internal static unsafe winmdroot.Foundation.HRESULT AddCheckButton(this winmdroot.UI.Shell.IFileDialogCustomize.Interface @this, uint dwIDCtl, string pszLabel, winmdroot.Foundation.BOOL bChecked)
{
fixed (char* pszLabelLocal = pszLabel)
{
winmdroot.Foundation.HRESULT __result = @this.AddCheckButton(dwIDCtl, pszLabelLocal, bChecked);
return __result;
}
}
/// <inheritdoc cref="winmdroot.UI.Shell.IFileDialogCustomize.Interface.AddEditBox(uint, winmdroot.Foundation.PCWSTR)"/>
internal static unsafe winmdroot.Foundation.HRESULT AddEditBox(this winmdroot.UI.Shell.IFileDialogCustomize.Interface @this, uint dwIDCtl, string pszText)
{
fixed (char* pszTextLocal = pszText)
{
winmdroot.Foundation.HRESULT __result = @this.AddEditBox(dwIDCtl, pszTextLocal);
return __result;
}
}
/// <inheritdoc cref="winmdroot.UI.Shell.IFileDialogCustomize.Interface.AddText(uint, winmdroot.Foundation.PCWSTR)"/>
internal static unsafe winmdroot.Foundation.HRESULT AddText(this winmdroot.UI.Shell.IFileDialogCustomize.Interface @this, uint dwIDCtl, string pszText)
{
fixed (char* pszTextLocal = pszText)
{
winmdroot.Foundation.HRESULT __result = @this.AddText(dwIDCtl, pszTextLocal);
return __result;
}
}
/// <inheritdoc cref="winmdroot.UI.Shell.IFileDialogCustomize.Interface.SetControlLabel(uint, winmdroot.Foundation.PCWSTR)"/>
internal static unsafe winmdroot.Foundation.HRESULT SetControlLabel(this winmdroot.UI.Shell.IFileDialogCustomize.Interface @this, uint dwIDCtl, string pszLabel)
{
fixed (char* pszLabelLocal = pszLabel)
{
winmdroot.Foundation.HRESULT __result = @this.SetControlLabel(dwIDCtl, pszLabelLocal);
return __result;
}
}
/// <inheritdoc cref="winmdroot.UI.Shell.IFileDialogCustomize.Interface.GetControlState(uint, winmdroot.UI.Shell.CDCONTROLSTATEF*)"/>
internal static unsafe winmdroot.Foundation.HRESULT GetControlState(this winmdroot.UI.Shell.IFileDialogCustomize.Interface @this, uint dwIDCtl, out winmdroot.UI.Shell.CDCONTROLSTATEF pdwState)
{
fixed (winmdroot.UI.Shell.CDCONTROLSTATEF* pdwStateLocal = &pdwState)
{
winmdroot.Foundation.HRESULT __result = @this.GetControlState(dwIDCtl, pdwStateLocal);
return __result;
}
}
/// <inheritdoc cref="winmdroot.UI.Shell.IFileDialogCustomize.Interface.GetEditBoxText(uint, ushort**)"/>
internal static unsafe winmdroot.Foundation.HRESULT GetEditBoxText(this winmdroot.UI.Shell.IFileDialogCustomize.Interface @this, uint dwIDCtl, out ushort* ppszText)
{
fixed (ushort** ppszTextLocal = &ppszText)
{
winmdroot.Foundation.HRESULT __result = @this.GetEditBoxText(dwIDCtl, ppszTextLocal);
return __result;
}
}
/// <inheritdoc cref="winmdroot.UI.Shell.IFileDialogCustomize.Interface.SetEditBoxText(uint, winmdroot.Foundation.PCWSTR)"/>
internal static unsafe winmdroot.Foundation.HRESULT SetEditBoxText(this winmdroot.UI.Shell.IFileDialogCustomize.Interface @this, uint dwIDCtl, string pszText)
{
fixed (char* pszTextLocal = pszText)
{
winmdroot.Foundation.HRESULT __result = @this.SetEditBoxText(dwIDCtl, pszTextLocal);
return __result;
}
}
/// <inheritdoc cref="winmdroot.UI.Shell.IFileDialogCustomize.Interface.GetCheckButtonState(uint, winmdroot.Foundation.BOOL*)"/>
internal static unsafe winmdroot.Foundation.HRESULT GetCheckButtonState(this winmdroot.UI.Shell.IFileDialogCustomize.Interface @this, uint dwIDCtl, out winmdroot.Foundation.BOOL pbChecked)
{
fixed (winmdroot.Foundation.BOOL* pbCheckedLocal = &pbChecked)
{
winmdroot.Foundation.HRESULT __result = @this.GetCheckButtonState(dwIDCtl, pbCheckedLocal);
return __result;
}
}
/// <inheritdoc cref="winmdroot.UI.Shell.IFileDialogCustomize.Interface.AddControlItem(uint, uint, winmdroot.Foundation.PCWSTR)"/>
internal static unsafe winmdroot.Foundation.HRESULT AddControlItem(this winmdroot.UI.Shell.IFileDialogCustomize.Interface @this, uint dwIDCtl, uint dwIDItem, string pszLabel)
{
fixed (char* pszLabelLocal = pszLabel)
{
winmdroot.Foundation.HRESULT __result = @this.AddControlItem(dwIDCtl, dwIDItem, pszLabelLocal);
return __result;
}
}
/// <inheritdoc cref="winmdroot.UI.Shell.IFileDialogCustomize.Interface.GetControlItemState(uint, uint, winmdroot.UI.Shell.CDCONTROLSTATEF*)"/>
internal static unsafe winmdroot.Foundation.HRESULT GetControlItemState(this winmdroot.UI.Shell.IFileDialogCustomize.Interface @this, uint dwIDCtl, uint dwIDItem, out winmdroot.UI.Shell.CDCONTROLSTATEF pdwState)
{
fixed (winmdroot.UI.Shell.CDCONTROLSTATEF* pdwStateLocal = &pdwState)
{
winmdroot.Foundation.HRESULT __result = @this.GetControlItemState(dwIDCtl, dwIDItem, pdwStateLocal);
return __result;
}
}
/// <inheritdoc cref="winmdroot.UI.Shell.IFileDialogCustomize.Interface.GetSelectedControlItem(uint, uint*)"/>
internal static unsafe winmdroot.Foundation.HRESULT GetSelectedControlItem(this winmdroot.UI.Shell.IFileDialogCustomize.Interface @this, uint dwIDCtl, out uint pdwIDItem)
{
fixed (uint* pdwIDItemLocal = &pdwIDItem)
{
winmdroot.Foundation.HRESULT __result = @this.GetSelectedControlItem(dwIDCtl, pdwIDItemLocal);
return __result;
}
}
/// <inheritdoc cref="winmdroot.UI.Shell.IFileDialogCustomize.Interface.StartVisualGroup(uint, winmdroot.Foundation.PCWSTR)"/>
internal static unsafe winmdroot.Foundation.HRESULT StartVisualGroup(this winmdroot.UI.Shell.IFileDialogCustomize.Interface @this, uint dwIDCtl, string pszLabel)
{
fixed (char* pszLabelLocal = pszLabel)
{
winmdroot.Foundation.HRESULT __result = @this.StartVisualGroup(dwIDCtl, pszLabelLocal);
return __result;
}
}
/// <inheritdoc cref="winmdroot.UI.Shell.IFileDialogCustomize.Interface.SetControlItemText(uint, uint, winmdroot.Foundation.PCWSTR)"/>
internal static unsafe winmdroot.Foundation.HRESULT SetControlItemText(this winmdroot.UI.Shell.IFileDialogCustomize.Interface @this, uint dwIDCtl, uint dwIDItem, string pszLabel)
{
fixed (char* pszLabelLocal = pszLabel)
{
winmdroot.Foundation.HRESULT __result = @this.SetControlItemText(dwIDCtl, dwIDItem, pszLabelLocal);
return __result;
}
}
}
}
|