MosswartMassacre/Unused/Decal.Interop.Core/IDecalFileSurrogate.cs
2025-06-09 02:03:11 +02:00

31 lines
805 B
C#

using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Security;
namespace Decal.Interop.Core;
[ComImport]
[InterfaceType(1)]
[SuppressUnmanagedCodeSecurity]
[Guid("E182005F-6A67-48B5-A50F-464340105330")]
public interface IDecalFileSurrogate
{
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void Register([MarshalAs(UnmanagedType.BStr)] string Filename);
[DispId(1610678273)]
string Extension
{
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[return: MarshalAs(UnmanagedType.BStr)]
get;
}
[DispId(1610678274)]
string Description
{
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[return: MarshalAs(UnmanagedType.BStr)]
get;
}
}