mirror of https://github.com/tongzx/nt5src
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
45 lines
958 B
45 lines
958 B
//+---------------------------------------------------------------------------
|
|
//
|
|
// Microsoft Windows
|
|
// Copyright (C) Microsoft Corporation, 1997 - 2000
|
|
//
|
|
// File: H N F W C O N N . H
|
|
//
|
|
// Contents: CHNFWConn declarations
|
|
//
|
|
// Notes:
|
|
//
|
|
// Author: jonburs 23 June 2000
|
|
//
|
|
//----------------------------------------------------------------------------
|
|
|
|
#pragma once
|
|
|
|
class ATL_NO_VTABLE CHNFWConn :
|
|
public CHNetConn,
|
|
public IHNetFirewalledConnection
|
|
{
|
|
public:
|
|
|
|
BEGIN_COM_MAP(CHNFWConn)
|
|
COM_INTERFACE_ENTRY(IHNetFirewalledConnection)
|
|
COM_INTERFACE_ENTRY_CHAIN(CHNetConn)
|
|
END_COM_MAP()
|
|
|
|
DECLARE_PROTECT_FINAL_CONSTRUCT()
|
|
|
|
//
|
|
// IHNetFirewalledConnection methods
|
|
//
|
|
|
|
STDMETHODIMP
|
|
Unfirewall();
|
|
};
|
|
|
|
typedef CHNCEnum<
|
|
IEnumHNetFirewalledConnections,
|
|
IHNetFirewalledConnection,
|
|
CHNFWConn
|
|
>
|
|
CEnumHNetFirewalledConnections;
|
|
|