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.

45 lines
1.4 KiB

  1. /******************************************************************
  2. SNetScal.h -- WBEM provider class declaration
  3. MODULE:
  4. DhcpProv.dll
  5. DESCRIPTION:
  6. Contains the declaration of the DHCP_Subnet_Scalar class and
  7. the indices definitions for its static table of manageable objects.
  8. REVISION:
  9. 08/03/98 - created
  10. ******************************************************************/
  11. #include "Props.h" // needed for CDHCP_Property definition
  12. #ifndef _ASCOSCAL_H
  13. #define _ASCOSCAL_H
  14. class CDHCP_SuperScopeToSubnet : public Provider
  15. {
  16. protected:
  17. // Reading Functions
  18. virtual HRESULT EnumerateInstances(MethodContext* pMethodContext, long lFlags = 0L);
  19. virtual HRESULT GetObject(CInstance* pInstance, long lFlags = 0L);
  20. virtual HRESULT ExecQuery(MethodContext *pMethodContext, CFrameworkQuery& Query, long lFlags = 0L);
  21. // Writing Functions
  22. virtual HRESULT PutInstance(const CInstance& Instance, long lFlags = 0L);
  23. virtual HRESULT DeleteInstance(const CInstance& Instance, long lFlags = 0L);
  24. // Other Functions
  25. virtual HRESULT ExecMethod( const CInstance& Instance,
  26. const BSTR bstrMethodName,
  27. CInstance *pInParams,
  28. CInstance *pOutParams,
  29. long lFlags = 0L );
  30. public:
  31. // Constructor/destructor
  32. CDHCP_SuperScopeToSubnet(const CHString& chsClassName, LPCSTR lpszNameSpace);
  33. virtual ~CDHCP_SuperScopeToSubnet();
  34. };
  35. #endif