windows-nt/Source/XPSP1/NT/shell/ext/netplwiz/netpage.h
2020-09-26 16:20:57 +08:00

28 lines
663 B
C++

#ifndef NETPAGE_H
#define NETPAGE_H
class CNetworkUserWizardPage: public CPropertyPage
{
public:
CNetworkUserWizardPage(CUserInfo* pUserInfo);
protected:
// Message handlers
virtual INT_PTR DialogProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
BOOL OnInitDialog(HWND hwnd, HWND hwndFocus, LPARAM lParam);
BOOL OnNotify(HWND hwnd, int idCtrl, LPNMHDR pnmh);
BOOL OnCommand(HWND hwnd, int id, HWND hwndCtl, UINT codeNotify);
private:
// Data
CUserInfo* m_pUserInfo;
private:
// Functions
void SetWizardButtons(HWND hwnd, HWND hwndPropSheet);
HRESULT GetUserAndDomain(HWND hwnd);
};
#endif //!NETPAGE_H