31 lines
805 B
C#
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;
|
|
}
|
|
}
|