windows-nt/Source/XPSP1/NT/admin/hmonitor/snapin/actionpolicyscopeitem.h
2020-09-26 16:20:57 +08:00

40 lines
1.1 KiB
C++

// ActionPolicyScopeItem.h: interface for the CActionPolicyScopeItem class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_ACTIONPOLICYSCOPEITEM_H__71DD9243_CA88_11D2_BD8E_0000F87A3912__INCLUDED_)
#define AFX_ACTIONPOLICYSCOPEITEM_H__71DD9243_CA88_11D2_BD8E_0000F87A3912__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "HMScopeItem.h"
class CActionPolicyScopeItem : public CHMScopeItem
{
DECLARE_DYNCREATE(CActionPolicyScopeItem)
// Construction/Destruction
public:
CActionPolicyScopeItem();
virtual ~CActionPolicyScopeItem();
// Creation Members
public:
virtual bool Create(CScopePane* pScopePane, CScopePaneItem* pParentItem);
// Results Pane View Members
public:
virtual CResultsPaneView* CreateResultsPaneView();
// MMC Notify Handlers
public:
virtual HRESULT OnAddMenuItems(LPCONTEXTMENUCALLBACK piCallback,long __RPC_FAR *pInsertionAllowed);
virtual HRESULT OnCommand(long lCommandID);
virtual HRESULT OnExpand(BOOL bExpand) { return CHMScopeItem::OnExpand(bExpand); }
};
#endif // !defined(AFX_ACTIONPOLICYSCOPEITEM_H__71DD9243_CA88_11D2_BD8E_0000F87A3912__INCLUDED_)