Windows2003-3790/termsrv/newclient/clshell/rdrwrndlg.h
2020-09-30 16:53:55 +02:00

46 lines
1.2 KiB
C++

//
// redirectpromptdlg.h: redirectprompt dialog class
//
#ifndef _redirectpromptdlg_h_
#define _redirectpromptdlg_h_
#include "dlgbase.h"
#include "sh.h"
class CRedirectPromptDlg : public CDlgBase
{
public:
CRedirectPromptDlg(HWND hwndOwner, HINSTANCE hInst,
DWORD dwRedirectionsSpecified);
~CRedirectPromptDlg();
virtual DCINT DoModal();
virtual INT_PTR CALLBACK DialogBoxProc(HWND hwndDlg,
UINT uMsg,
WPARAM wParam,
LPARAM lParam);
static INT_PTR CALLBACK StaticDialogBoxProc(HWND hwndDlg,
UINT uMsg,
WPARAM wParam,
LPARAM lParam);
BOOL GetNeverPrompt() {return _fNeverPromptMeAgain;}
static CRedirectPromptDlg* _pRedirectPromptDlgInstance;
protected:
BOOL GetRedirectListString(LPTSTR szBuf, UINT len);
private:
DWORD _dwRedirectionsSpecified;
BOOL _fNeverPromptMeAgain;
};
#endif //_redirectpromptdlg_h_