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.

47 lines
673 B

  1. /*++
  2. Copyright (c) 1999-2000 Microsoft Corporation
  3. Module Name:
  4. parseaddr
  5. Abstract:
  6. Misc. RD Utils
  7. Author:
  8. HueiWang
  9. Revision History:
  10. --*/
  11. #ifndef __REMOTEDESKTOPPARSEADDR_H__
  12. #define __REMOTEDESKTOPPARSEADDR_H__
  13. #include <atlbase.h>
  14. #pragma warning (disable: 4786)
  15. #include <list>
  16. #include "RemoteDesktopTopLevelObject.h"
  17. typedef struct __ServerAddress {
  18. CComBSTR ServerName;
  19. LONG portNumber;
  20. } ServerAddress;
  21. typedef std::list<ServerAddress, CRemoteDesktopAllocator<ServerAddress> > ServerAddressList;
  22. //
  23. // Parse Address list
  24. //
  25. HRESULT
  26. ParseAddressList(
  27. BSTR addressListString,
  28. OUT ServerAddressList& addressList
  29. );
  30. #endif