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

43 lines
1.2 KiB
C#

using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Security;
namespace Decal.Interop.Core;
[ComImport]
[SuppressUnmanagedCodeSecurity]
[Guid("DA98635C-A312-463B-A746-2CF62AF7413A")]
[InterfaceType(1)]
public interface IDecalSurrogate
{
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[return: MarshalAs(UnmanagedType.IUnknown)]
object CreateInstance([MarshalAs(UnmanagedType.Interface)] DecalEnum pInitData, ref Guid riid);
[DispId(1610678273)]
string Version
{
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[return: MarshalAs(UnmanagedType.BStr)]
get;
}
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void SetEnum([MarshalAs(UnmanagedType.Interface)] DecalEnum pInitData);
[DispId(1610678275)]
bool FileExists
{
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
get;
}
[DispId(1610678276)]
string FilePath
{
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[return: MarshalAs(UnmanagedType.BStr)]
get;
}
}