using System;
namespace System.Runtime.InteropServices
{
/// Use instead.
// Token: 0x0200035A RID: 858
[Guid("0000010b-0000-0000-c000-000000000046")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[Obsolete]
[ComImport]
public interface UCOMIPersistFile
{
/// Retrieves the class identifier (CLSID) of an object.
/// On successful return, a reference to the CLSID.
// Token: 0x06002371 RID: 9073
void GetClassID(out Guid pClassID);
/// Checks an object for changes since it was last saved to its current file.
/// 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.
// Token: 0x06002372 RID: 9074
[PreserveSig]
int IsDirty();
/// Opens the specified file and initializes an object from the file contents.
/// A zero-terminated string containing the absolute path of the file to open.
/// A combination of values from the STGM enumeration to indicate the access mode in which to open .
// Token: 0x06002373 RID: 9075
void Load([MarshalAs(UnmanagedType.LPWStr)] string pszFileName, int dwMode);
/// Saves a copy of the object into the specified file.
/// A zero-terminated string containing the absolute path of the file to which the object is saved.
/// Indicates whether is to be used as the current working file.
// Token: 0x06002374 RID: 9076
void Save([MarshalAs(UnmanagedType.LPWStr)] string pszFileName, [MarshalAs(UnmanagedType.Bool)] bool fRemember);
/// Notifies the object that it can write to its file.
/// The absolute path of the file where the object was previously saved.
// Token: 0x06002375 RID: 9077
void SaveCompleted([MarshalAs(UnmanagedType.LPWStr)] string pszFileName);
/// 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.
/// 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).
// Token: 0x06002376 RID: 9078
void GetCurFile([MarshalAs(UnmanagedType.LPWStr)] out string ppszFileName);
}
}