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.
|
|
//+---------------------------------------------------------------------------
//
// Microsoft Windows
// Copyright (C) Microsoft Corporation, 1997.
//
// File: C O N M A N . C P P
//
// Contents: Implementation of LAN connection class manager
//
// Notes:
//
// Author: danielwe 2 Oct 1997
//
//----------------------------------------------------------------------------
#include "pch.h"
#pragma hdrstop
#include "conmanl.h"
#include "enuml.h"
//+---------------------------------------------------------------------------
// INetConnectionManager
//
//+---------------------------------------------------------------------------
//
// Member: CLanConnectionManager::EnumConnections
//
// Purpose: Returns an enumerator object for LAN connections
//
// Arguments:
// Flags [in] Must be NCF_ALL_USERS
// ppEnum [out] Returns enumerator object
//
// Returns: S_OK if succeeded, OLE or Win32 error code otherwise
//
// Author: danielwe 2 Oct 1997
//
// Notes:
//
STDMETHODIMP CLanConnectionManager::EnumConnections(NETCONMGR_ENUM_FLAGS Flags, IEnumNetConnection** ppEnum) { HRESULT hr = CLanConnectionManagerEnumConnection::CreateInstance(Flags, IID_IEnumNetConnection, reinterpret_cast<LPVOID*>(ppEnum));
return hr; }
|