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.

68 lines
1.3 KiB

  1. //============================================================================
  2. // Copyright (C) Microsoft Corporation, 1996 - 1999
  3. //
  4. // File: msgdlg.h
  5. //
  6. // History:
  7. // 10/23/96 Abolade Gbadegesin Created.
  8. //
  9. // Declarations for the "Send Message" dialogs.
  10. //============================================================================
  11. #ifndef _MSGDLG_H_
  12. #define _MSGDLG_H_
  13. class CMessageDlg : public CBaseDialog {
  14. public:
  15. CMessageDlg(
  16. LPCTSTR pszServerName,
  17. LPCTSTR pszUserName,
  18. LPCTSTR pszComputer,
  19. HANDLE hConnection,
  20. CWnd* pParent = NULL );
  21. CMessageDlg(
  22. LPCTSTR pszServerName,
  23. LPCTSTR pszTarget,
  24. CWnd* pParent = NULL );
  25. protected:
  26. static DWORD m_dwHelpMap[];
  27. BOOL m_fUser;
  28. CString m_sServerName;
  29. CString m_sUserName;
  30. CString m_sTarget;
  31. HANDLE m_hConnection;
  32. virtual VOID
  33. DoDataExchange(
  34. CDataExchange* pDX );
  35. virtual BOOL
  36. OnInitDialog( );
  37. virtual VOID
  38. OnOK( );
  39. DWORD SendToClient(LPCTSTR pszServerName,
  40. LPCTSTR pszTarget,
  41. MPR_SERVER_HANDLE hMprServer,
  42. HANDLE hConnection,
  43. LPCTSTR pszMessage);
  44. DWORD
  45. SendToServer(
  46. LPCTSTR pszServer,
  47. LPCTSTR pszText,
  48. BOOL* pbCancel = NULL );
  49. DECLARE_MESSAGE_MAP()
  50. };
  51. #endif // _MSGDLG_H_