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.

45 lines
1.3 KiB

  1. // File: conf.h
  2. #ifndef _CONF_H_
  3. #define _CONF_H_
  4. #include "ConfUtil.h"
  5. #include "callto.h"
  6. class CCallLog;
  7. extern HWND g_hwndDropDown;
  8. extern BOOL g_fHiColor;
  9. extern HFONT g_hfontDlg;
  10. extern CPing* g_pPing;
  11. extern OSVERSIONINFO g_osvi;
  12. extern BOOL g_fNTDisplayDriverEnabled;
  13. extern CCallLog* g_pInCallLog;
  14. extern ULONG g_uMediaCaps;
  15. extern INmSysInfo2 * g_pNmSysInfo; // Interface to SysInfo
  16. extern DWORD g_dwSysInfoNotifyCookie;
  17. extern INmManager2 * g_pInternalNmManager; // Interface to InternalINmManager
  18. extern CCallto * g_pCCallto;
  19. HRESULT InitConfExe(BOOL fShowUI = TRUE);
  20. inline LPOSVERSIONINFO GetVersionInfo() { return &g_osvi; }
  21. inline BOOL IsWindowsNT() { return (VER_PLATFORM_WIN32_NT == g_osvi.dwPlatformId); }
  22. inline CCallLog* GetIncomingCallLog() { return g_pInCallLog; }
  23. BOOL ProcessMessage(UINT msg, WPARAM wParam, LPARAM lParam);
  24. VOID CleanUp(BOOL fLogoffWindows=FALSE);
  25. VOID CmdShutdown(void);
  26. VOID HandleConfSettingsChange(DWORD dwSettings);
  27. VOID SignalShutdownStarting(void);
  28. #define WM_DIALMON_FIRST (WM_USER+100)
  29. #define WM_WINSOCK_ACTIVITY (WM_DIALMON_FIRST+0)
  30. #define WM_APP_EXITING (WM_DIALMON_FIRST+3)
  31. VOID SendDialmonMessage(UINT uMsg);
  32. BOOL CheckRemoteControlService();
  33. void LaunchApp(LPCTSTR lpCmdLine);
  34. #endif // _CONF_H_