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.

56 lines
1.1 KiB

  1. /////////////////////////////////////////////////////////////////////////////
  2. //
  3. // PendingProxyConnection.h : Declaration of the CPendingProxyConnection
  4. //
  5. #pragma once
  6. #include "resource.h" // main symbols
  7. /////////////////////////////////////////////////////////////////////////////
  8. // CPendingProxyConnection
  9. //
  10. class ATL_NO_VTABLE CPendingProxyConnection :
  11. public CComObjectRootEx<CComMultiThreadModel>,
  12. public CComCoClass<CPendingProxyConnection, &CLSID_PendingProxyConnection>,
  13. public IPendingProxyConnection
  14. {
  15. public:
  16. DECLARE_REGISTRY_RESOURCEID(IDR_PENDINGPROXYCONNECTION)
  17. DECLARE_NOT_AGGREGATABLE(CPendingProxyConnection)
  18. DECLARE_PROTECT_FINAL_CONSTRUCT()
  19. BEGIN_COM_MAP(CPendingProxyConnection)
  20. COM_INTERFACE_ENTRY(IPendingProxyConnection)
  21. END_COM_MAP()
  22. //
  23. // IPendingProxyConnection
  24. //
  25. public:
  26. STDMETHODIMP Cancel();
  27. //
  28. // Properties
  29. //
  30. public:
  31. ALG_PROTOCOL m_eProtocol;
  32. ULONG m_ulDestinationAddress;
  33. USHORT m_usDestinationPort;
  34. ULONG m_ulSourceAddress;
  35. USHORT m_usSourcePort;
  36. ULONG m_ulNewSourceAddress;
  37. USHORT m_usNewSourcePort;
  38. };