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
1.3 KiB

  1. // File: dlghost.h
  2. #ifndef _CDLGHOST_H_
  3. #define _CDLGHOST_H_
  4. class CDlgHost
  5. {
  6. private:
  7. HWND m_hwnd;
  8. LPTSTR m_pszName;
  9. LPTSTR m_pszPassword;
  10. BOOL m_fSecure;
  11. DWORD m_attendeePermissions;
  12. UINT m_maxParticipants;
  13. public:
  14. CDlgHost();
  15. ~CDlgHost();
  16. // Properties:
  17. LPCTSTR PszName() const {return m_pszName;}
  18. LPCTSTR PszPassword() const {return m_pszPassword;}
  19. BOOL IsSecure() const {return m_fSecure;}
  20. DWORD AttendeePermissions() const {return m_attendeePermissions;}
  21. UINT MaxParticipants() const {return m_maxParticipants;}
  22. INT_PTR DoModal(HWND hwnd);
  23. VOID OnInitDialog(void);
  24. BOOL OnCommand(WPARAM wParam, LPARAM lParam);
  25. static INT_PTR CALLBACK DlgProcHost(HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
  26. };
  27. class CDlgHostSettings
  28. {
  29. private:
  30. HWND m_hwnd;
  31. BOOL m_fHost;
  32. LPTSTR m_pszName;
  33. DWORD m_caps;
  34. NM30_MTG_PERMISSIONS m_permissions;
  35. public:
  36. CDlgHostSettings(BOOL fHost, LPTSTR szName, DWORD caps, NM30_MTG_PERMISSIONS permissions);
  37. ~CDlgHostSettings(void);
  38. static void KillHostSettings();
  39. INT_PTR DoModal(HWND hwnd);
  40. void OnInitDialog(void);
  41. static INT_PTR CALLBACK DlgProc(HWND hdlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
  42. };
  43. #endif /* _CDLGHOST_H_ */
  44.