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.
46 lines
1.2 KiB
46 lines
1.2 KiB
//+---------------------------------------------------------------------------
|
|
//
|
|
// Microsoft Windows
|
|
// Copyright (C) Microsoft Corporation, 1997.
|
|
//
|
|
// File: C O N M A N 2 . H
|
|
//
|
|
// Contents: Connection manager 2.
|
|
//
|
|
// Notes:
|
|
//
|
|
// Author: ckotze 16 Mar 2001
|
|
//
|
|
//----------------------------------------------------------------------------
|
|
|
|
#pragma once
|
|
#include "nmbase.h"
|
|
#include "nmres.h"
|
|
#include "ncstl.h"
|
|
#include "list"
|
|
|
|
typedef list<NETCON_PROPERTIES_EX*> LISTNETCONPROPEX;
|
|
typedef LISTNETCONPROPEX::iterator ITERNETCONPROPEX;
|
|
|
|
class ATL_NO_VTABLE CConnectionManager2 :
|
|
public CComObjectRootEx <CComMultiThreadModel>,
|
|
public CComCoClass <CConnectionManager2, &CLSID_ConnectionManager2>,
|
|
public INetConnectionManager2
|
|
{
|
|
public:
|
|
CConnectionManager2() throw() {};
|
|
|
|
~CConnectionManager2() throw() {};
|
|
|
|
DECLARE_CLASSFACTORY_DEFERRED_SINGLETON(CConnectionManager2)
|
|
DECLARE_REGISTRY_RESOURCEID(IDR_CONMAN2);
|
|
|
|
BEGIN_COM_MAP(CConnectionManager2)
|
|
COM_INTERFACE_ENTRY(INetConnectionManager2)
|
|
END_COM_MAP()
|
|
|
|
// INetConnectionManager2
|
|
STDMETHOD (EnumConnectionProperties)(
|
|
OUT SAFEARRAY** ppsaConnectionProperties);
|
|
|
|
};
|