Windows2003-3790/admin/dcpromo/exe/safemode.hpp
2020-09-30 16:53:55 +02:00

70 lines
1.1 KiB
C++

// Copyright (C) 1999 Microsoft Corporation
//
// Safe Mode Administrator password page
//
// 6-3-99 sburns
#ifndef SAFEMODE_HPP_INCLUDED
#define SAFEMODE_HPP_INCLUDED
#include "page.hpp"
#include "PasswordEditBox.hpp"
class SafeModePasswordPage : public DCPromoWizardPage
{
public:
SafeModePasswordPage();
protected:
virtual ~SafeModePasswordPage();
// Dialog overrides
virtual
void
OnInit();
virtual
bool
OnNotify(
HWND windowFrom,
UINT_PTR controlIDFrom,
UINT code,
LPARAM lParam);
// PropertyPage overrides
virtual
bool
OnSetActive();
// DCPromoWizardPage overrides
virtual
int
Validate();
private:
// not defined; no copying allowed
SafeModePasswordPage(const SafeModePasswordPage&);
const SafeModePasswordPage& operator=(const SafeModePasswordPage&);
// NTRAID#NTBUG9-202238-2000/11/07-sburns
PasswordEditBox password;
PasswordEditBox confirm;
};
#endif // SAFEMODE_HPP_INCLUDED