windows-nt/Source/XPSP1/NT/termsrv/remdsk/common/parseaddr.h
2020-09-26 16:20:57 +08:00

48 lines
673 B
C++

/*++
Copyright (c) 1999-2000 Microsoft Corporation
Module Name:
parseaddr
Abstract:
Misc. RD Utils
Author:
HueiWang
Revision History:
--*/
#ifndef __REMOTEDESKTOPPARSEADDR_H__
#define __REMOTEDESKTOPPARSEADDR_H__
#include <atlbase.h>
#pragma warning (disable: 4786)
#include <list>
#include "RemoteDesktopTopLevelObject.h"
typedef struct __ServerAddress {
CComBSTR ServerName;
LONG portNumber;
} ServerAddress;
typedef std::list<ServerAddress, CRemoteDesktopAllocator<ServerAddress> > ServerAddressList;
//
// Parse Address list
//
HRESULT
ParseAddressList(
BSTR addressListString,
OUT ServerAddressList& addressList
);
#endif