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.

57 lines
2.1 KiB

  1. // File: ConfCpl.h
  2. //
  3. // Main header file for Wizards and Options Dialog
  4. #ifndef _CONFCPL_H_
  5. #define _CONFCPL_H_
  6. #include <ConfWiz.h>
  7. #include <AudioWiz.h>
  8. #include "confpolicies.h"
  9. #include "csetting.h"
  10. // CPL-specific WM_USER messages
  11. #define WM_AUDIOCALIBRATE WM_USER + 200
  12. #define WM_DONEAUDIOCALIBRATE WM_USER + 201
  13. #define WM_ENDCALIBRATE WM_USER + 202
  14. #define WM_CALIBTIMELEFT WM_USER + 203
  15. // from wizard.cpp
  16. extern BOOL g_fSilentWizard;
  17. void HideWizard(HWND hwnd);
  18. void ShowWizard(HWND hwnd);
  19. class CULSWizard;
  20. HRESULT StartRunOnceWizard(LPLONG plSoundCaps, BOOL fForce, BOOL fVisible);
  21. BOOL FLegalEmailSz(PTSTR pszName);
  22. bool IsLegalGateKeeperServerSz(LPCTSTR szServer);
  23. bool IsLegalGatewaySz(LPCTSTR szServer);
  24. bool IsLegalE164Number(LPCTSTR szPhone);
  25. void InitDirectoryServicesDlgInfo( HWND hDlg, CULSWizard* pWiz, bool& bOldEnableGateway, LPTSTR szOldServerNameBuf, UINT cch );
  26. void InitGatekeeperDlgInfo( HWND hDlg, HWND hDlgUserInfo, CULSWizard* pWiz, bool &rbCantChangeGkCallingMode );
  27. void SetGKAddressingMode( HWND hDlg, HWND hDlgUserInfo, CULSWizard* pWiz, ConfPolicies::eGKAddressingMode eMode );
  28. BOOL FLegalEmailName(HWND hdlg, UINT id);
  29. VOID FillServerComboBox(HWND hwndCombo);
  30. VOID FillInPropertyPage(PROPSHEETPAGE* psp, int idDlg,
  31. DLGPROC pfnDlgProc, LPARAM lParam=0, LPCTSTR pszProc=NULL);
  32. // Global flag keeps setting that changed for windows msg broadcast
  33. extern DWORD g_dwChangedSettings;
  34. // externs to dialog procedures in separate files
  35. extern INT_PTR APIENTRY ConferencingDlgProc ( HWND, UINT, WPARAM, LPARAM );
  36. extern INT_PTR APIENTRY SecurityDlgProc ( HWND, UINT, WPARAM, LPARAM );
  37. extern INT_PTR APIENTRY AudioDlgProc ( HWND, UINT, WPARAM, LPARAM );
  38. extern INT_PTR APIENTRY VideoDlgProc ( HWND, UINT, WPARAM, LPARAM );
  39. extern INT_PTR APIENTRY UserDlgProc ( HWND, UINT, WPARAM, LPARAM );
  40. extern INT_PTR APIENTRY CallOptDlgProc(HWND, UINT, WPARAM, LPARAM);
  41. extern INT_PTR APIENTRY RemoteDlgProc ( HWND, UINT, WPARAM, LPARAM );
  42. extern int GetBandwidthBits(int id, int megahertz);
  43. #endif /* _CONFCPL_H_ */