Leaked source code of windows server 2003
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.

39 lines
1.3 KiB

  1. // SoftwareFeature.h: interface for the CSoftwareFeature class.
  2. //
  3. // Copyright (c) 1997-2001 Microsoft Corporation, All Rights Reserved
  4. //
  5. //////////////////////////////////////////////////////////////////////
  6. #if !defined(AFX_SOFTWAREFEATURE_H__CFD828E3_DAC7_11D1_8B5D_00A0C9954921__INCLUDED_)
  7. #define AFX_SOFTWAREFEATURE_H__CFD828E3_DAC7_11D1_8B5D_00A0C9954921__INCLUDED_
  8. #if _MSC_VER >= 1000
  9. #pragma once
  10. #endif // _MSC_VER >= 1000
  11. #include "GenericClass.h"
  12. class CSoftwareFeature : public CGenericClass
  13. {
  14. public:
  15. CSoftwareFeature(CRequestObject *pObj, IWbemServices *pNamespace, IWbemContext *pCtx = NULL);
  16. virtual ~CSoftwareFeature();
  17. virtual HRESULT PutInst(CRequestObject *pObj, IWbemClassObject *pInst, IWbemObjectSink *pHandler, IWbemContext *pCtx)
  18. {return WBEM_E_NOT_SUPPORTED;}
  19. //WBEM Methods
  20. HRESULT Configure(CRequestObject *pReqObj, IWbemClassObject *pInParams,
  21. IWbemObjectSink *pHandler, IWbemContext *pCtx);
  22. HRESULT Reinstall(CRequestObject *pReqObj, IWbemClassObject *pInParams,
  23. IWbemObjectSink *pHandler, IWbemContext *pCtx);
  24. virtual HRESULT CreateObject(IWbemObjectSink *pHandler, ACTIONTYPE atAction);
  25. protected:
  26. bool CheckUsage(UINT uiStatus);
  27. };
  28. #endif // !defined(AFX_SOFTWAREFEATURE_H__CFD828E3_DAC7_11D1_8B5D_00A0C9954921__INCLUDED_)