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

#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_STATSPRAS_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 Documentation

#define fsnew ( p,
T,
 )     {p=NULL; while (TRUE) { try { p = new T [L]; if (p == NULL) fsOnMemoryError (); else break; } catch (...) {fsOnMemoryError ();} } }

Definition at line 56 of file system.h.

#define fsnew1 ( p,
 )     {p=NULL; while (TRUE) { try { p = new T; if (p == NULL) fsOnMemoryError (); else break; } catch (...) {fsOnMemoryError ();} } }

#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 Documentation

typedef struct _RAS_STATS * PRAS_STATS

typedef struct _RAS_STATS RAS_STATS


Function Documentation

LONG fsCopyKey ( HKEY  hSrcParent,
HKEY  hTargParent,
LPCTSTR  szSrcKey,
LPCTSTR  szTargKey 
)

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 383 of file system.cpp.

References GetFileSize().

int fsGetFTimeDaysDelta ( FILETIME  t1,
FILETIME  t2 
)

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 (  ) 

Definition at line 301 of file system.cpp.

References _TrayMgr, NULL, and fsTrayIconMgr::Remove().

void fsOpenUrlInBrowser ( LPCSTR  pszUrl  ) 

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().

DWORD fsRasEnumConnections ( LPRASCONN  p1,
LPDWORD  p2,
LPDWORD  p3 
)

Definition at line 146 of file system.cpp.

References _pfnRasEnumConnections, fsInitRAS(), and NULL.

Referenced by fsRASMgr::EnumConnections().

DWORD fsRasEnumEntries ( LPCTSTR  p1,
LPCTSTR  p2,
LPRASENTRYNAME  p3,
LPDWORD  p4,
LPDWORD  p5 
)

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  ) 

BOOL fsSetFilePointer ( HANDLE  hFile,
UINT64  uPosition,
DWORD  dwMethod 
)

void fsSetForegroundWindow ( HWND  hWnd  ) 

BOOL fsSetLayeredWindowAttributes ( HWND  hWnd,
COLORREF  clrKey,
BYTE  bAlpha,
DWORD  dwFlags 
)

Definition at line 32 of file system.cpp.

References _pfnSetLWA, FALSE, fsSysGetOsMajorVersion(), and NULL.

Referenced by CFloatingWnd::SetBlend(), and CFloatingInfoWnd::SetBlend().

int fsStrCmpNC ( LPCSTR  psz1,
LPCSTR  psz2 
)

Definition at line 269 of file system.cpp.

Referenced by fsDownloads_GroupsMgr::FindGroupByName().

int fsStrNCmpNC ( LPCSTR  psz1,
LPCSTR  psz2,
int  nCount 
)

Definition at line 285 of file system.cpp.

Referenced by fsDownloadMgr::OnDone().

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 (  ) 

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 (  ) 

BOOL vmsDeleteFileAtWinBoot ( LPCSTR  pszFile  ) 

Definition at line 572 of file system.cpp.

References NULL, and vmsMoveFileAtWinBoot().

Referenced by fsDownloadsMgr::OnDownloadStoppedOrDone().

char vmsGetExeDriveLetter (  ) 

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.

References FALSE, and NULL.

Referenced by CFdmApp::InitInstance(), and CFdmApp::RegisterServer().


Generated on Sun May 25 00:20:03 2008 by  doxygen 1.5.6