Source code of Windows XP (NT5)
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.
 
 
 
 
 
 

67 lines
1.4 KiB

//+---------------------------------------------------------------------------
//
// Microsoft Windows
// Copyright (C) Microsoft Corporation, 1997 - 2000
//
// File: H N B R G C O N . H
//
// Contents: CHNBridgedConn declarations
//
// Notes:
//
// Author: jonburs 23 June 2000
//
//----------------------------------------------------------------------------
#pragma once
class ATL_NO_VTABLE CHNBridgedConn :
public CHNetConn,
public IHNetBridgedConnection
{
private:
HRESULT
CHNBridgedConn::UnbindFromBridge(
IN OPTIONAL INetCfg *pnetcfgExisting
);
HRESULT
CopyBridgeBindings(
IN INetCfgComponent *pnetcfgAdapter,
IN INetCfgComponent *pnetcfgBridge
);
public:
BEGIN_COM_MAP(CHNBridgedConn)
COM_INTERFACE_ENTRY(IHNetBridgedConnection)
COM_INTERFACE_ENTRY_CHAIN(CHNetConn)
END_COM_MAP()
//
// Ojbect initialization
//
HRESULT
Initialize(
IWbemServices *piwsNamespace,
IWbemClassObject *pwcoConnection
);
//
// IHNetBridgedConnection methods
//
STDMETHODIMP
GetBridge(
IHNetBridge **ppBridge
);
STDMETHODIMP
RemoveFromBridge(
IN OPTIONAL INetCfg *pnetcfgExisting
);
};
typedef CHNCArrayEnum<IEnumHNetBridgedConnections, IHNetBridgedConnection> CEnumHNetBridgedConnections;