This commit is contained in:
niko
2026-06-04 11:42:34 +02:00
parent f39ba70a9f
commit e720b98cd1
7488 changed files with 2493818 additions and 0 deletions
@@ -0,0 +1,46 @@
using System;
namespace System.Runtime.InteropServices
{
/// <summary>Use <see cref="T:System.Runtime.InteropServices.ComTypes.IPersistFile" /> instead.</summary>
// Token: 0x0200035A RID: 858
[Guid("0000010b-0000-0000-c000-000000000046")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[Obsolete]
[ComImport]
public interface UCOMIPersistFile
{
/// <summary>Retrieves the class identifier (CLSID) of an object.</summary>
/// <param name="pClassID">On successful return, a reference to the CLSID. </param>
// Token: 0x06002371 RID: 9073
void GetClassID(out Guid pClassID);
/// <summary>Checks an object for changes since it was last saved to its current file.</summary>
/// <returns>S_OK if the file has changed since it was last saved; S_FALSE if the file has not changed since it was last saved.</returns>
// Token: 0x06002372 RID: 9074
[PreserveSig]
int IsDirty();
/// <summary>Opens the specified file and initializes an object from the file contents.</summary>
/// <param name="pszFileName">A zero-terminated string containing the absolute path of the file to open. </param>
/// <param name="dwMode">A combination of values from the STGM enumeration to indicate the access mode in which to open <paramref name="pszFileName" />. </param>
// Token: 0x06002373 RID: 9075
void Load([MarshalAs(UnmanagedType.LPWStr)] string pszFileName, int dwMode);
/// <summary>Saves a copy of the object into the specified file.</summary>
/// <param name="pszFileName">A zero-terminated string containing the absolute path of the file to which the object is saved. </param>
/// <param name="fRemember">Indicates whether <paramref name="pszFileName" /> is to be used as the current working file. </param>
// Token: 0x06002374 RID: 9076
void Save([MarshalAs(UnmanagedType.LPWStr)] string pszFileName, [MarshalAs(UnmanagedType.Bool)] bool fRemember);
/// <summary>Notifies the object that it can write to its file.</summary>
/// <param name="pszFileName">The absolute path of the file where the object was previously saved. </param>
// Token: 0x06002375 RID: 9077
void SaveCompleted([MarshalAs(UnmanagedType.LPWStr)] string pszFileName);
/// <summary>Retrieves either the absolute path to current working file of the object, or if there is no current working file, the default filename prompt of the object.</summary>
/// <param name="ppszFileName">The address of a pointer to a zero-terminated string containing the path for the current file, or the default filename prompt (such as *.txt). </param>
// Token: 0x06002376 RID: 9078
void GetCurFile([MarshalAs(UnmanagedType.LPWStr)] out string ppszFileName);
}
}