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.

45 lines
1.2 KiB

  1. //
  2. // redirectpromptdlg.h: redirectprompt dialog class
  3. //
  4. #ifndef _redirectpromptdlg_h_
  5. #define _redirectpromptdlg_h_
  6. #include "dlgbase.h"
  7. #include "sh.h"
  8. class CRedirectPromptDlg : public CDlgBase
  9. {
  10. public:
  11. CRedirectPromptDlg(HWND hwndOwner, HINSTANCE hInst,
  12. DWORD dwRedirectionsSpecified);
  13. ~CRedirectPromptDlg();
  14. virtual DCINT DoModal();
  15. virtual INT_PTR CALLBACK DialogBoxProc(HWND hwndDlg,
  16. UINT uMsg,
  17. WPARAM wParam,
  18. LPARAM lParam);
  19. static INT_PTR CALLBACK StaticDialogBoxProc(HWND hwndDlg,
  20. UINT uMsg,
  21. WPARAM wParam,
  22. LPARAM lParam);
  23. BOOL GetNeverPrompt() {return _fNeverPromptMeAgain;}
  24. static CRedirectPromptDlg* _pRedirectPromptDlgInstance;
  25. protected:
  26. BOOL GetRedirectListString(LPTSTR szBuf, UINT len);
  27. private:
  28. DWORD _dwRedirectionsSpecified;
  29. BOOL _fNeverPromptMeAgain;
  30. };
  31. #endif //_redirectpromptdlg_h_