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.
47 lines
673 B
47 lines
673 B
/*++
|
|
|
|
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
|