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.
64 lines
1.7 KiB
64 lines
1.7 KiB
//
|
|
// Copyright 1997 - Microsoft
|
|
|
|
//
|
|
// MangDlg.H - Handles the IDD_MANAGED_WIZARD_PAGE
|
|
//
|
|
|
|
|
|
#ifndef _MANGDLG_H_
|
|
#define _MANGDLG_H_
|
|
|
|
class CNewComputerExtensions; // fwd decl
|
|
|
|
// Definitions
|
|
LPVOID
|
|
CManagedPage_CreateInstance( void );
|
|
|
|
// CManagedPage
|
|
class
|
|
CManagedPage:
|
|
public ITab
|
|
{
|
|
private: // Members
|
|
HWND _hDlg;
|
|
CNewComputerExtensions* _pNewComputerExtension;
|
|
LPWSTR _pszGuid;
|
|
BOOL * _pfActivate;
|
|
|
|
private: // Methods
|
|
CManagedPage();
|
|
~CManagedPage();
|
|
STDMETHOD(Init)();
|
|
|
|
// Property Sheet Functions
|
|
static INT_PTR CALLBACK
|
|
PropSheetDlgProc( HWND hDlg, UINT Msg, WPARAM wParam, LPARAM lParam );
|
|
static UINT CALLBACK
|
|
PropSheetPageProc( HWND hwnd, UINT uMsg, LPPROPSHEETPAGE ppsp );
|
|
static INT_PTR CALLBACK
|
|
DupGuidDlgProc( HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lParam );
|
|
HRESULT _InitDialog( HWND hDlg, LPARAM lParam );
|
|
INT _OnCommand( WPARAM wParam, LPARAM lParam );
|
|
INT _OnNotify( WPARAM wParam, LPARAM lParam );
|
|
HRESULT _OnPSPCB_Create( );
|
|
HRESULT _UpdateWizardButtons( );
|
|
HRESULT _OnKillActive( );
|
|
HRESULT _OnQuery( HWND hDlg );
|
|
|
|
public: // Methods
|
|
friend LPVOID CManagedPage_CreateInstance( void );
|
|
|
|
// ITab
|
|
STDMETHOD(AddPages)( LPFNADDPROPSHEETPAGE lpfnAddPage, LPARAM lParam, LPUNKNOWN punk );
|
|
STDMETHOD(ReplacePage)( UINT uPageID, LPFNADDPROPSHEETPAGE lpfnReplaceWith,
|
|
LPARAM lParam, LPUNKNOWN punk );
|
|
STDMETHOD(QueryInformation)( LPWSTR pszAttribute, LPWSTR * pszResult );
|
|
STDMETHOD(AllowActivation)( BOOL * pfAllow );
|
|
|
|
friend CNewComputerExtensions;
|
|
};
|
|
|
|
typedef CManagedPage* LPCManagedPage;
|
|
|
|
#endif // _MANGDLG_H_
|