Leaked source code of windows server 2003
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.
|
|
//
// PersistentDataChannel.cpp : Implementation of CPersistentDataChannel
//
#include "PreComp.h"
#include "PersistentDataChannel.h"
#include "AlgController.h"
/////////////////////////////////////////////////////////////////////////////
//
// CPersistentDataChannel
//
//
// Cancel the associated DynamicRedirect of the PersistenDataChannel
//
STDMETHODIMP CPersistentDataChannel::Cancel() { HRESULT hr = S_OK;
if ( m_HandleDynamicRedirect ) { hr = g_pAlgController->GetNat()->CancelDynamicRedirect(m_HandleDynamicRedirect); }
return hr; }
//
// Return the propreties to an ALG Modules
//
STDMETHODIMP CPersistentDataChannel::GetChannelProperties(ALG_PERSISTENT_DATA_CHANNEL_PROPERTIES **ppProperties) { *ppProperties = &m_Properties;
return S_OK; }
|