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.

106 lines
2.2 KiB

  1. /*****************************************************************/
  2. /** Microsoft LAN Manager **/
  3. /** Copyright(c) Microsoft Corp., 1989-1990 **/
  4. /*****************************************************************/
  5. #ifndef _WNETDEV_HXX_
  6. #define _WNETDEV_HXX_
  7. /*
  8. * Windows/Network Interface -- LAN Manager Version
  9. *
  10. * This header file describes classes and routines used in
  11. * various dialogs.
  12. */
  13. #ifndef WIN32
  14. #ifndef _BLT_HXX_
  15. #define INCL_BLT_DIALOG
  16. #define INCL_BLT_CONTROL
  17. #include <blt.hxx>
  18. #endif
  19. #include <sendmsg.hxx>
  20. #include <devcb.hxx> // DOMAIN_COMBO
  21. #endif //!WIN32
  22. #ifdef WIN32
  23. /* UI Side DLL initiliazation API.
  24. */
  25. APIERR InitShellUI( void ) ;
  26. void TermShellUI( void ) ;
  27. #endif
  28. #ifndef WIN32
  29. // class for MessageSend dialog
  30. class SEND_MSG_DIALOG : public MSG_DIALOG_BASE
  31. {
  32. private:
  33. SLE _sleUser;
  34. protected:
  35. virtual APIERR QueryUsers( STRLIST *pslUsers );
  36. virtual BOOL ActionOnError( APIERR err );
  37. ULONG QueryHelpContext( void );
  38. public:
  39. SEND_MSG_DIALOG( HWND hDlg );
  40. };
  41. // class for logon dialog
  42. class LOGON_DIALOG : public DIALOG_WINDOW
  43. {
  44. private:
  45. SLE _sleUsername;
  46. PASSWORD_CONTROL _password;
  47. DOMAIN_COMBO _domaincb;
  48. TCHAR _szUsername[ UNLEN+1 ];
  49. TCHAR _szPassword[ PWLEN+1 ];
  50. TCHAR _szDomainCb[ DNLEN+1 ];
  51. ULONG QueryHelpContext( void );
  52. BOOL InitUserAndDomain( void );
  53. INT AttemptLogon( void );
  54. protected:
  55. BOOL OnOK( void );
  56. public:
  57. LOGON_DIALOG( HWND hDlgOwner, const TCHAR *pszAppName );
  58. ~LOGON_DIALOG( void );
  59. };
  60. #endif //!WIN32
  61. #ifndef WIN32
  62. // class for About dialog
  63. class ABOUT_DIALOG : public DIALOG_WINDOW
  64. {
  65. private:
  66. public:
  67. ABOUT_DIALOG( HWND hDlg );
  68. };
  69. // class for initial warning dialog
  70. class INITWARN_DIALOG : public DIALOG_WINDOW
  71. {
  72. private:
  73. CHECKBOX _checkboxInitWarn;
  74. SLT _sltErrReason;
  75. protected:
  76. BOOL OnOK( void );
  77. public:
  78. INITWARN_DIALOG( HWND hDlg, APIERR err );
  79. ~INITWARN_DIALOG( void );
  80. };
  81. #endif //!WIN32
  82. #endif // _WNETDEV_HXX_