|
// ------------------------------------------------------------------------------
// <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
{
namespace System.Ole
{
/// <summary>Indicates whether an object should be saved before closing.</summary>
/// <remarks>
/// <para><see href="https://learn.microsoft.com/windows/win32/api/oleidl/ne-oleidl-oleclose">Learn more about this API from docs.microsoft.com</see>.</para>
/// </remarks>
[global::System.CodeDom.Compiler.GeneratedCode("Microsoft.Windows.CsWin32", "0.3.151+58e949951d.RR")]
internal enum OLECLOSE
{
/// <summary>The object should be saved if it is dirty.</summary>
OLECLOSE_SAVEIFDIRTY = 0,
/// <summary>The object should not be saved, even if it is dirty. This flag is typically used when an object is being deleted.</summary>
OLECLOSE_NOSAVE = 1,
/// <summary>If the object is dirty, the <a href="https://docs.microsoft.com/windows/desktop/api/oleidl/nf-oleidl-ioleobject-close">IOleObject::Close</a> implementation should display a dialog box to let the end user determine whether to save the object. However, if the object is in the running state but its user interface is invisible, the end user should not be prompted, and the close should be handled as if OLECLOSE_SAVEIFDIRTY had been specified.</summary>
OLECLOSE_PROMPTSAVE = 2,
}
}
}
|