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.
56 lines
1.1 KiB
56 lines
1.1 KiB
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// PendingProxyConnection.h : Declaration of the CPendingProxyConnection
|
|
//
|
|
|
|
#pragma once
|
|
|
|
#include "resource.h" // main symbols
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// CPendingProxyConnection
|
|
//
|
|
class ATL_NO_VTABLE CPendingProxyConnection :
|
|
public CComObjectRootEx<CComMultiThreadModel>,
|
|
public CComCoClass<CPendingProxyConnection, &CLSID_PendingProxyConnection>,
|
|
public IPendingProxyConnection
|
|
{
|
|
public:
|
|
|
|
DECLARE_REGISTRY_RESOURCEID(IDR_PENDINGPROXYCONNECTION)
|
|
DECLARE_NOT_AGGREGATABLE(CPendingProxyConnection)
|
|
|
|
DECLARE_PROTECT_FINAL_CONSTRUCT()
|
|
|
|
BEGIN_COM_MAP(CPendingProxyConnection)
|
|
COM_INTERFACE_ENTRY(IPendingProxyConnection)
|
|
END_COM_MAP()
|
|
|
|
//
|
|
// IPendingProxyConnection
|
|
//
|
|
public:
|
|
STDMETHODIMP Cancel();
|
|
|
|
|
|
//
|
|
// Properties
|
|
//
|
|
public:
|
|
|
|
ALG_PROTOCOL m_eProtocol;
|
|
|
|
ULONG m_ulDestinationAddress;
|
|
USHORT m_usDestinationPort;
|
|
|
|
ULONG m_ulSourceAddress;
|
|
USHORT m_usSourcePort;
|
|
|
|
ULONG m_ulNewSourceAddress;
|
|
USHORT m_usNewSourcePort;
|
|
|
|
|
|
|
|
};
|
|
|