#include <ras.h>Go to the source code of this file.
Classes | |
| struct | _RAS_STATS |
Defines | |
| #define | WS_EX_LAYERED 0x00080000 |
| #define | LWA_ALPHA 0x00000002 |
| #define | fsnew(p, T, L) {p=NULL; while (TRUE) { try { p = new T [L]; if (p == NULL) fsOnMemoryError (); else break; } catch (...) {fsOnMemoryError ();} } } |
| #define | fsnew1(p, T) {p=NULL; while (TRUE) { try { p = new T; if (p == NULL) fsOnMemoryError (); else break; } catch (...) {fsOnMemoryError ();} } } |
Typedefs | |
| typedef struct _RAS_STATS | RAS_STATS |
| typedef struct _RAS_STATS * | PRAS_STATS |
Functions | |
| void | fsSysGetConnectionStatistics (HRASCONN hRasConn, RAS_STATS *pStatistics) |
| DWORD | fsRasHangUp (HRASCONN hRasConn) |
| DWORD | fsRasDial (LPRASDIALEXTENSIONS p1, LPCTSTR p2, LPRASDIALPARAMS p3, DWORD p4, LPVOID p5, LPHRASCONN p6) |
| DWORD | fsRasGetEntryDialParams (LPCTSTR p1, LPRASDIALPARAMS p2, LPBOOL p3) |
| DWORD | fsRasGetErrorString (UINT p1, LPTSTR p2, DWORD p3) |
| DWORD | fsRasEnumEntries (LPCTSTR p1, LPCTSTR p2, LPRASENTRYNAME p3, LPDWORD p4, LPDWORD p5) |
| DWORD | fsRasEnumConnections (LPRASCONN p1, LPDWORD p2, LPDWORD p3) |
| DWORD | fsSysGetOsMajorVersion () |
| void | fsSetForegroundWindow (HWND hWnd) |
| void | fsOpenUrlInBrowser (LPCSTR pszUrl) |
| int | fsStrCmpNC (LPCSTR psz1, LPCSTR psz2) |
| int | fsStrNCmpNC (LPCSTR psz1, LPCSTR psz2, int nCount) |
| BOOL | fsSetLayeredWindowAttributes (HWND hWnd, COLORREF clrKey, BYTE bAlpha, DWORD dwFlags) |
| void | fsOnMemoryError () |
| BOOL | GetIEVersion (DWORD *pMajor, DWORD *pMinor, DWORD *pBuild, DWORD *pSubBuild) |
| DWORD | GetShell32Version () |
| BOOL | fsSetFilePointer (HANDLE hFile, UINT64 uPosition, DWORD dwMethod) |
| UINT64 | fsGetFileSize (HANDLE hFile) |
| int | fsGetFTimeDaysDelta (FILETIME t1, FILETIME t2) |
| BOOL | fsIsSystemInFullScreenMode () |
| BOOL | vmsSetSuspendState (BOOL bHibernate, BOOL bForce, BOOL bDisableWakeEvent) |
| DWORD | vmsSHCopyKey (HKEY, LPCSTR, HKEY) |
| LONG | fsCopyKey (HKEY hSrcParent, HKEY hTargParent, LPCTSTR szSrcKey, LPCTSTR szTargKey) |
| BOOL | vmsDeleteFileAtWinBoot (LPCSTR pszFile) |
| char | vmsGetExeDriveLetter () |
| #define fsnew | ( | p, | |||
| T, | |||||
| L | ) | {p=NULL; while (TRUE) { try { p = new T [L]; if (p == NULL) fsOnMemoryError (); else break; } catch (...) {fsOnMemoryError ();} } } |
| #define fsnew1 | ( | p, | |||
| T | ) | {p=NULL; while (TRUE) { try { p = new T; if (p == NULL) fsOnMemoryError (); else break; } catch (...) {fsOnMemoryError ();} } } |
Definition at line 57 of file system.h.
Referenced by CHFE_FileList::_threadBuildList(), fsInternetFileListMgr::_threadGetList(), fsWebPageDownloader::AddPage(), CSpiderWnd::AddWebPage(), CSchedule_WTSPage::ApplyStartStopDownloads(), fsODMenu::AttachMenuItem(), CHFE_FileList::BuildList(), fsUpdateMgr::CheckForUpdate(), vmsSimpleFileDownloader::CreateDownloader(), CDownloadsWnd::CreateDownloads(), fsDownloadsMgr::DeleteDeletedDownloads2(), fsDownloadsMgr::DeleteDownloads2(), CFdmApp::InitInstance(), fsWebPageDownloadsMgr::Load(), fsWebPageDownloader::Load(), fsPluginMgr::LoadBuiltIn(), fsScheduleMgr::LoadStateFromFile(), CSpiderTasks::OnSpiderSchedule(), fsInternetDownloader::OpenUrl_imp(), CUploadsWnd::Plugin_CreateMainWindow(), CSpiderWnd::Plugin_CreateMainWindow(), CSitesWnd::Plugin_CreateMainWindow(), CShedulerWnd::Plugin_CreateMainWindow(), CHFEWnd::Plugin_CreateMainWindow(), CFlashVideoDownloadsWnd::Plugin_CreateMainWindow(), CDownloadsWnd::Plugin_CreateMainWindow(), CDownloads_Tasks::ScheduleSelectedDlds(), CMainFrame::StartUpdate(), and fsUpdateMgr::Update().
| #define LWA_ALPHA 0x00000002 |
Definition at line 51 of file system.h.
Referenced by CFloatingWnd::SetBlend(), and CFloatingInfoWnd::SetBlend().
| #define WS_EX_LAYERED 0x00080000 |
Definition at line 50 of file system.h.
Referenced by CFloatingWnd::Create(), and CFloatingInfoWnd::Create().
| typedef struct _RAS_STATS * PRAS_STATS |
| typedef struct _RAS_STATS RAS_STATS |
Definition at line 445 of file system.cpp.
References fsCopyKey(), LONG, and NULL.
Referenced by CFdmApp::CheckRegistry(), and fsCopyKey().
| UINT64 fsGetFileSize | ( | HANDLE | hFile | ) |
Definition at line 391 of file system.cpp.
References _FILETIME::dwHighDateTime, and _FILETIME::dwLowDateTime.
Referenced by fsDownloadsHistoryMgr::ApplySettings(), and fsDldHistRecFilter_DuringPeriod::IsSatisfies().
| BOOL fsIsSystemInFullScreenMode | ( | ) |
Definition at line 401 of file system.cpp.
References FALSE, NULL, and TRUE.
Referenced by CFloatingInfoWnd::NeedToShow(), CFloatingWnd::OnTimer(), and CFloatingInfoWnd::OnTimer().
| void fsOnMemoryError | ( | ) |
| void fsOpenUrlInBrowser | ( | LPCSTR | pszUrl | ) |
Definition at line 220 of file system.cpp.
References L_ERROPENURL, LPSTR, LS, MY_MAX_PATH, NULL, and ShellExecute.
Referenced by fsOpenBuyPage(), CDlg_SpreadHelp2_wb_Events::OnBeforeNavigate2(), CMainFrame::OnDllangfiles(), CMainFrame::OnDonate(), CMainFrame::OnFDC(), CFDCButton::OnFDC(), CMainFrame::OnHomepage(), CUrlWnd::OnLButtonDown(), CWnd_FDMGetCustVer_Btn::OnLButtonUp(), CWnd_Banner::OnLButtonUp(), CDlg_SpreadHelp_LinkCode::OnMoreexamples(), CDlg_SpreadHelp2::OnOK(), CWebInterfaceDlg::OnOpenInBrowser(), CMainFrame::OnSupport(), and CDlg_Unpack_InstAddPack::OnVisitwebsite().
| DWORD fsRasDial | ( | LPRASDIALEXTENSIONS | p1, | |
| LPCTSTR | p2, | |||
| LPRASDIALPARAMS | p3, | |||
| DWORD | p4, | |||
| LPVOID | p5, | |||
| LPHRASCONN | p6 | |||
| ) |
Definition at line 170 of file system.cpp.
References _pfnRasDial, fsInitRAS(), and NULL.
Referenced by CDialDlg::_RasDialFunc(), and CDialDlg::StartConnect().
Definition at line 146 of file system.cpp.
References _pfnRasEnumConnections, fsInitRAS(), and NULL.
Referenced by fsRASMgr::EnumConnections().
Definition at line 134 of file system.cpp.
References _pfnRasEnumEntries, fsInitRAS(), and NULL.
Referenced by fsRASMgr::EnumEntries().
| DWORD fsRasGetEntryDialParams | ( | LPCTSTR | p1, | |
| LPRASDIALPARAMS | p2, | |||
| LPBOOL | p3 | |||
| ) |
Definition at line 182 of file system.cpp.
References _pfnRasGetEntryDialParams, fsInitRAS(), and NULL.
Referenced by CDialDlg::StartConnect().
| DWORD fsRasGetErrorString | ( | UINT | p1, | |
| LPTSTR | p2, | |||
| DWORD | p3 | |||
| ) |
Definition at line 158 of file system.cpp.
References _pfnRasGetErrorString, fsInitRAS(), and NULL.
Referenced by CDialDlg::_RasDialFunc().
| DWORD fsRasHangUp | ( | HRASCONN | hRasConn | ) |
Definition at line 122 of file system.cpp.
References _pfnRasHangUp, fsInitRAS(), and NULL.
Referenced by CDialDlg::_RasDialFunc(), CDialDlg::Cancel(), fsScheduleMgr::Hangup(), and CDialDlg::OnInitDialog().
| BOOL fsSetFilePointer | ( | HANDLE | hFile, | |
| UINT64 | uPosition, | |||
| DWORD | dwMethod | |||
| ) |
Definition at line 365 of file system.cpp.
References FALSE, GetLastError(), LONG, and TRUE.
Referenced by fsInternetDownloader::__threadDownload_flushdata(), fsDownloadMgr::_threadReserveDiskSpace(), fsAVIIdx1Builder::BuildIdx1(), fsDShowFilterDetector::IsFilterMeets(), fsDownloadMgr::ProcessSCR(), fsFileStream::Read(), fsDownloadMgr::ReserveDiskSpace(), and fsArchive::fsArchiveFileStream::Seek().
| void fsSetForegroundWindow | ( | HWND | hWnd | ) |
Definition at line 207 of file system.cpp.
References FALSE, NULL, and TRUE.
Referenced by mfcSetForegroundWindow(), CWaitForConfirmationDlg::OnInitDialog(), CSpiderAddPageDlg::OnInitDialog(), CDownloadAlrExistsDlg::OnInitDialog(), CCreateDownloadListDlg::OnInitDialog(), and CCreateDownloadDlg::OnInitDialog().
Definition at line 32 of file system.cpp.
References _pfnSetLWA, FALSE, fsSysGetOsMajorVersion(), and NULL.
Referenced by CFloatingWnd::SetBlend(), and CFloatingInfoWnd::SetBlend().
| void fsSysGetConnectionStatistics | ( | HRASCONN | hRasConn, | |
| RAS_STATS * | pStatistics | |||
| ) |
Definition at line 107 of file system.cpp.
References _pfnRasGetStat, fsInitRAS(), fsSysGetOsMajorVersion(), and NULL.
Referenced by CDialDlg::_RasDialFunc().
| DWORD fsSysGetOsMajorVersion | ( | ) |
Definition at line 194 of file system.cpp.
References _dwOsMajorVersion.
Referenced by CDialDlg::_RasDialFunc(), CFloatingWnd::Create(), CFloatingInfoWnd::Create(), fsSetLayeredWindowAttributes(), fsSysGetConnectionStatistics(), CSchedule_WTSPage::OnHangupifless(), CFloatingWnd::SetBlend(), CFloatingInfoWnd::SetBlend(), and CPrg_GeneralPage_FWDlg::UpdateEnabled().
| BOOL GetIEVersion | ( | DWORD * | pMajor, | |
| DWORD * | pMinor, | |||
| DWORD * | pBuild, | |||
| DWORD * | pSubBuild | |||
| ) |
Definition at line 71 of file FDMIECookiesBHO.cpp.
References FALSE, LONG, and TRUE.
Referenced by _threadSubclassIeServerWnd(), and fsIECatchMgr::ActivateIE2().
| DWORD GetShell32Version | ( | ) |
Definition at line 335 of file system.cpp.
References simple_client::info, and NULL.
Referenced by fsTrayIconMgr::fsTrayIconMgr(), CMainFrame::OnCreate(), CDownloaderProperties_NotificationsPage::OnUseballoon(), and fsTrayIconMgr::ShowBalloon().
| BOOL vmsDeleteFileAtWinBoot | ( | LPCSTR | pszFile | ) |
Definition at line 572 of file system.cpp.
References NULL, and vmsMoveFileAtWinBoot().
Referenced by fsDownloadsMgr::OnDownloadStoppedOrDone().
| char vmsGetExeDriveLetter | ( | ) |
Definition at line 577 of file system.cpp.
References NULL.
Referenced by fsDownloadMgr::LoadState(), CDownloads_Groups::OnOpengroupfolder(), fsDownloadMgr::ProcessFilePathMacroses(), and fsDownloadMgr::SaveState().
| BOOL vmsSetSuspendState | ( | BOOL | bHibernate, | |
| BOOL | bForce, | |||
| BOOL | bDisableWakeEvent | |||
| ) |
Definition at line 427 of file system.cpp.
References BOOL, FALSE, and NULL.
Referenced by fsScheduleMgr::_threadShutdown().
| DWORD vmsSHCopyKey | ( | HKEY | , | |
| LPCSTR | , | |||
| HKEY | ||||
| ) |
Definition at line 533 of file system.cpp.
Referenced by CFdmApp::InitInstance(), and CFdmApp::RegisterServer().
1.5.6