Files
better-genshin-impact/Build/MicaSetup/Natives/Shell/NetFw/INetFwProfile.cs

108 lines
2.3 KiB
C#

using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace MicaSetup.Shell.NetFw;
[Guid("174A0DDA-E9F9-449D-993B-21AB667CA456"), TypeLibType(4160)]
[ComImport]
public interface INetFwProfile
{
[DispId(1)]
NET_FW_PROFILE_TYPE Type
{
[DispId(1)]
[MethodImpl(MethodImplOptions.InternalCall)]
get;
}
[DispId(2)]
bool FirewallEnabled
{
[DispId(2)]
[MethodImpl(MethodImplOptions.InternalCall)]
get;
[DispId(2)]
[MethodImpl(MethodImplOptions.InternalCall)]
set;
}
[DispId(3)]
bool ExceptionsNotAllowed
{
[DispId(3)]
[MethodImpl(MethodImplOptions.InternalCall)]
get;
[DispId(3)]
[MethodImpl(MethodImplOptions.InternalCall)]
set;
}
[DispId(4)]
bool NotificationsDisabled
{
[DispId(4)]
[MethodImpl(MethodImplOptions.InternalCall)]
get;
[DispId(4)]
[MethodImpl(MethodImplOptions.InternalCall)]
set;
}
[DispId(5)]
bool UnicastResponsesToMulticastBroadcastDisabled
{
[DispId(5)]
[MethodImpl(MethodImplOptions.InternalCall)]
get;
[DispId(5)]
[MethodImpl(MethodImplOptions.InternalCall)]
set;
}
[DispId(6)]
INetFwRemoteAdminSettings RemoteAdminSettings
{
[DispId(6)]
[MethodImpl(MethodImplOptions.InternalCall)]
[return: MarshalAs(UnmanagedType.Interface)]
get;
}
[DispId(7)]
INetFwIcmpSettings IcmpSettings
{
[DispId(7)]
[MethodImpl(MethodImplOptions.InternalCall)]
[return: MarshalAs(UnmanagedType.Interface)]
get;
}
[DispId(8)]
INetFwOpenPorts GloballyOpenPorts
{
[DispId(8)]
[MethodImpl(MethodImplOptions.InternalCall)]
[return: MarshalAs(UnmanagedType.Interface)]
get;
}
[DispId(9)]
INetFwServices Services
{
[DispId(9)]
[MethodImpl(MethodImplOptions.InternalCall)]
[return: MarshalAs(UnmanagedType.Interface)]
get;
}
[DispId(10)]
INetFwAuthorizedApplications AuthorizedApplications
{
[DispId(10)]
[MethodImpl(MethodImplOptions.InternalCall)]
[return: MarshalAs(UnmanagedType.Interface)]
get;
}
}