D:/opendownloadmanager/ODM-1.x/common.h File Reference

Go to the source code of this file.

Defines

#define SAFE_DELETE(p)   {if (p) {delete p; p = NULL;}}
#define SAFE_DELETE_ARRAY(a)   {if (a) {delete [] a; a = NULL;}}
#define SAFE_RELEASE(p)   {if (p) {p->Release (); p = NULL;}}
#define RIF(e)   {if (FAILED (hr=(e))) return hr;}
#define Is9xME   ((GetVersion () & 0x80000000) != 0)


Define Documentation

#define Is9xME   ((GetVersion () & 0x80000000) != 0)

#define RIF (  )     {if (FAILED (hr=(e))) return hr;}

Definition at line 13 of file common.h.

Referenced by fsPartMediaPlayer::Open(), and fsPartMediaPlayer::Open2().

#define SAFE_DELETE (  )     {if (p) {delete p; p = NULL;}}

Definition at line 9 of file common.h.

#define SAFE_DELETE_ARRAY ( a   )     {if (a) {delete [] a; a = NULL;}}

Definition at line 10 of file common.h.

Referenced by fsInternetDownloader::__threadDownload_flushdata(), CCreateDownloadDlg::_CheckDownloadAlrExists(), fsInternetDownloader::_threadDownload(), CCreateDownloadDlg::_threadQSize(), fsInternetDownloader::AddMirrorURL(), fsWebPageDownloader::AddPage(), fsDownloadMgr::ApplyAdditionalExt(), fsDownloadMgr::BuildFileName(), fsUpdateMgr::CheckForUpdate(), fsDownloadMgr::CloneSettings(), CDownloadsWnd::CreateDownload(), DNPEntry_SetValue(), fsDownloadMgr::DoRapidshareSupport(), vmsSimpleFileDownloader::Download(), DPEntry_SetValue(), vmsFDMCustomizations::Free(), fsInternetURLFileDownloader::Free_FileBuffer(), fsScheduleMgr::FreeTask(), fsDNP_ApplyUrl(), fsDNP_CloneSettings(), fsDNP_GetByUrl(), fsDNP_GetByUrl_Free(), fsDNP_GetDefaults_Free(), fsDNP_SetAuth(), fsReadStringFromFile(), CCreateDownloadListDlg::GenerateDownloads(), fsHttpFiles::GetUrlInfo(), fsHttpFiles::LoadFile(), vmsBtSupport::LoadState(), vmsBtDownloadManager::LoadState(), fsDownloadMgr::MoveFile(), CDownloadProperties_IntegrityPage::OnApply(), CDownloads_Tasks::OnDldcheckintegrity(), fsDownloadsMgr::OnDldDone_CheckDownloadIsHtmlPageWithVideo(), fsDownloadsMgr::OnDldDone_CheckDownloadIsMetaLink(), CCreateDownloadDlg::OnInitDialog(), CCreateDownloadDlg::OnOK(), fsHttpFile::Open_imp(), fsArchiveInternetStream::Open_imp(), fsInternetDownloader::OpenUrl_imp(), fsWebPageDownloader::ParseHTMLFrameUrls(), fsWebPageDownloader::ParseHTMLUrls(), CCreateDownloadListDlg::ReadAuth(), CCreateBatchDownload::ReadAuth(), CCreateDownloadDlg::ReadDNP(), fsFtpFile::ReceiveExtError(), fsFtpConnection::ReceiveExtError(), fsDownloadMgr::RenameFile(), vmsBtDownloadManager::SaveBtDownloadState(), vmsBtSupport::SaveState(), vmsFDMCustomizations::set_ButtonInfo(), fsHttpFile::SetAdditionalHeaders(), fsHttpFile::SetCookies(), fsDownloadMgr::SetOutputFileName(), fsHttpFile::SetPostData(), fsHttpFile::SetReferer(), fsUpdateMgr::Update(), fsDownloadMgr::~fsDownloadMgr(), fsHttpFiles::~fsHttpFiles(), fsInternetFile::~fsInternetFile(), fsInternetServerConnection::~fsInternetServerConnection(), and vmsBtDownloadManager::~vmsBtDownloadManager().

#define SAFE_RELEASE (  )     {if (p) {p->Release (); p = NULL;}}


Generated on Sun May 25 00:19:39 2008 by  doxygen 1.5.6