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.

54 lines
2.6 KiB

  1. // SoftwareElementAction.h: interface for the CSoftwareElementAction class.
  2. //
  3. // Copyright (c) 1997-2001 Microsoft Corporation, All Rights Reserved
  4. //
  5. //////////////////////////////////////////////////////////////////////
  6. #if !defined(AFX_SOFTWAREELEMENTACTION_H__52002680_D70A_11D2_B235_00A0C9954921__INCLUDED_)
  7. #define AFX_SOFTWAREELEMENTACTION_H__52002680_D70A_11D2_B235_00A0C9954921__INCLUDED_
  8. #if _MSC_VER > 1000
  9. #pragma once
  10. #endif // _MSC_VER > 1000
  11. #include "GenericClass.h"
  12. class CSoftwareElementAction : public CGenericClass
  13. {
  14. public:
  15. CSoftwareElementAction(CRequestObject *pObj, IWbemServices *pNamespace, IWbemContext *pCtx = NULL);
  16. virtual ~CSoftwareElementAction();
  17. virtual HRESULT PutInst(CRequestObject *pObj, IWbemClassObject *pInst, IWbemObjectSink *pHandler, IWbemContext *pCtx)
  18. {return WBEM_E_NOT_SUPPORTED;}
  19. virtual HRESULT CreateObject(IWbemObjectSink *pHandler, ACTIONTYPE atAction);
  20. protected:
  21. HRESULT SoftwareElementClass(IWbemObjectSink *pHandler, ACTIONTYPE atAction,
  22. CRequestObject *pActionData, CRequestObject *pElementData);
  23. HRESULT SoftwareElementCreateFolder(IWbemObjectSink *pHandler, ACTIONTYPE atAction,
  24. CRequestObject *pActionData, CRequestObject *pElementData);
  25. HRESULT SoftwareElementDuplicateFile(IWbemObjectSink *pHandler, ACTIONTYPE atAction,
  26. CRequestObject *pActionData, CRequestObject *pElementData);
  27. HRESULT SoftwareElementExtension(IWbemObjectSink *pHandler, ACTIONTYPE atAction,
  28. CRequestObject *pActionData, CRequestObject *pElementData);
  29. HRESULT SoftwareElementMoveFile(IWbemObjectSink *pHandler, ACTIONTYPE atAction,
  30. CRequestObject *pActionData, CRequestObject *pElementData);
  31. HRESULT SoftwareElementRemoveFile(IWbemObjectSink *pHandler, ACTIONTYPE atAction,
  32. CRequestObject *pActionData, CRequestObject *pElementData);
  33. HRESULT SoftwareElementRegistry(IWbemObjectSink *pHandler, ACTIONTYPE atAction,
  34. CRequestObject *pActionData, CRequestObject *pElementData);
  35. HRESULT SoftwareElementPublish(IWbemObjectSink *pHandler, ACTIONTYPE atAction,
  36. CRequestObject *pActionData, CRequestObject *pElementData);
  37. HRESULT SoftwareElementRemoveIniValue(IWbemObjectSink *pHandler, ACTIONTYPE atAction,
  38. CRequestObject *pActionData, CRequestObject *pElementData);
  39. HRESULT SoftwareElementShortcut(IWbemObjectSink *pHandler, ACTIONTYPE atAction,
  40. CRequestObject *pActionData, CRequestObject *pElementData);
  41. HRESULT SoftwareElementTypeLibrary(IWbemObjectSink *pHandler, ACTIONTYPE atAction,
  42. CRequestObject *pActionData, CRequestObject *pElementData);
  43. };
  44. #endif // !defined(AFX_SOFTWAREELEMENTACTION_H__52002680_D70A_11D2_B235_00A0C9954921__INCLUDED_)