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.

40 lines
1.6 KiB

  1. // ProductResource1.h: interface for the CProductResource class.
  2. //
  3. // Copyright (c) 1997-2001 Microsoft Corporation, All Rights Reserved
  4. //
  5. //////////////////////////////////////////////////////////////////////
  6. #if !defined(AFX_PRODUCTRESOURCE1_H__9374E720_D709_11D2_B235_00A0C9954921__INCLUDED_)
  7. #define AFX_PRODUCTRESOURCE1_H__9374E720_D709_11D2_B235_00A0C9954921__INCLUDED_
  8. #if _MSC_VER > 1000
  9. #pragma once
  10. #endif // _MSC_VER > 1000
  11. #include "GenericClass.h"
  12. class CProductResource : public CGenericClass
  13. {
  14. public:
  15. CProductResource(CRequestObject *pObj, IWbemServices *pNamespace, IWbemContext *pCtx = NULL);
  16. virtual ~CProductResource();
  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 ProductPatch(IWbemObjectSink *pHandler, ACTIONTYPE atAction,
  22. CRequestObject *pResRObj, CRequestObject *pProductRObj);
  23. HRESULT ProductProperty(IWbemObjectSink *pHandler, ACTIONTYPE atAction,
  24. CRequestObject *pResRObj, CRequestObject *pProductRObj);
  25. HRESULT ProductPatchPackage(IWbemObjectSink *pHandler, ACTIONTYPE atAction,
  26. CRequestObject *pResRObj, CRequestObject *pProductRObj);
  27. HRESULT ProductUpgradeInformation(IWbemObjectSink *pHandler, ACTIONTYPE atAction,
  28. CRequestObject *pResRObj, CRequestObject *pProductRObj);
  29. };
  30. #endif // !defined(AFX_PRODUCTRESOURCE1_H__9374E720_D709_11D2_B235_00A0C9954921__INCLUDED_)