Source code of Windows XP (NT5)
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.
 
 
 
 
 
 

110 lines
2.4 KiB

//////////////////////////////////////////////////////////////////////////////
/*++
Copyright (C) Microsoft Corporation, 1997 - 1999
Module Name:
ServerPage2.h
Abstract:
Header file for the CServerPage2 class.
This is our handler class for the second CMachineNode property page.
See MachinePage1.cpp for implementation.
Author:
Michael A. Maguire 12/15/97
Revision History:
mmaguire 12/15/97 - created
--*/
//////////////////////////////////////////////////////////////////////////////
#if !defined(_IAS_SERVER_PAGE_2_H_)
#define _IAS_SERVER_PAGE_2_H_
//////////////////////////////////////////////////////////////////////////////
// BEGIN INCLUDES
//
// where we can find what this class derives from:
//
#include "PropertyPage.h"
//
//
// where we can find what this class has or uses:
//
//
// END INCLUDES
//////////////////////////////////////////////////////////////////////////////
class CServerPage2 : public CIASPropertyPage<CServerPage2>
{
public :
CServerPage2( LONG_PTR hNotificationHandle, TCHAR* pTitle = NULL, BOOL bOwnsNotificationHandle = FALSE );
~CServerPage2();
// This is the ID of the dialog resource we want for this class.
// An enum is used here because the correct value of
// IDD must be initialized before the base class's constructor is called
enum { IDD = IDD_PROPPAGE_SERVER2 };
BEGIN_MSG_MAP(CServerPage2)
COMMAND_CODE_HANDLER(BN_CLICKED, OnChange)
COMMAND_CODE_HANDLER(EN_CHANGE, OnChange)
COMMAND_CODE_HANDLER(CBN_SELCHANGE, OnChange)
MESSAGE_HANDLER(WM_INITDIALOG, OnInitDialog)
CHAIN_MSG_MAP(CIASPropertyPage<CServerPage2>)
END_MSG_MAP()
BOOL OnApply();
BOOL OnQueryCancel();
HRESULT GetHelpPath( LPTSTR szFilePath );
// Pointer to stream into which this page's Sdo interface
// pointer will be marshalled.
LPSTREAM m_pStreamSdoMarshal;
private:
// Interface pointer for this page's sdo.
CComPtr<ISdo> m_spSdoServer;
CComPtr<ISdo> m_spSdoRadiusProtocol;
CComPtr<ISdoServiceControl> m_spSdoServiceControl;
LRESULT OnInitDialog(
UINT uMsg
, WPARAM wParam
, LPARAM lParam
, BOOL& bHandled
);
LRESULT OnChange(
UINT uMsg
, WPARAM wParam
, HWND hwnd
, BOOL& bHandled
);
protected:
// Dirty bits -- for keeping track of data which has been touched
// so that we only save data we have to.
BOOL m_fDirtyAuthenticationPort;
BOOL m_fDirtyAccountingPort;
};
#endif // _IAS_SERVER_PAGE_2_H_