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.
 
 
 
 
 
 

64 lines
1.5 KiB

// SPortMap.cpp : Implementation of CStaticPortMapping
#include "stdafx.h"
#pragma hdrstop
#include "NATUPnP.h"
#include "SPortMap.h"
/////////////////////////////////////////////////////////////////////////////
// CStaticPortMapping
STDMETHODIMP CStaticPortMapping::get_ExternalIPAddress (BSTR *pVal)
{
return m_spDPM->get_ExternalIPAddress (pVal);
}
STDMETHODIMP CStaticPortMapping::get_Description(BSTR *pVal)
{
return m_spDPM->get_Description (pVal);
}
STDMETHODIMP CStaticPortMapping::get_ExternalPort(long *pVal)
{
return m_spDPM->get_ExternalPort (pVal);
}
STDMETHODIMP CStaticPortMapping::get_Protocol(BSTR *pVal)
{
return m_spDPM->get_Protocol (pVal);
}
STDMETHODIMP CStaticPortMapping::get_InternalPort(long *pVal)
{
return m_spDPM->get_InternalPort (pVal);
}
STDMETHODIMP CStaticPortMapping::get_InternalClient(BSTR *pVal)
{
return m_spDPM->get_InternalClient (pVal);
}
STDMETHODIMP CStaticPortMapping::get_Enabled(VARIANT_BOOL *pVal)
{
return m_spDPM->get_Enabled (pVal);
}
STDMETHODIMP CStaticPortMapping::EditInternalClient (BSTR bstrInternalClient)
{
return m_spDPM->EditInternalClient (bstrInternalClient);
}
STDMETHODIMP CStaticPortMapping::Enable (VARIANT_BOOL vb)
{
return m_spDPM->Enable (vb);
}
STDMETHODIMP CStaticPortMapping::EditDescription (BSTR bstrDescription)
{
return m_spDPM->EditDescription (bstrDescription);
}
STDMETHODIMP CStaticPortMapping::EditInternalPort (long lInternalPort)
{
return m_spDPM->EditInternalPort (lInternalPort);
}