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.

51 lines
1.5 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 _ANETRES_H
  13. #define _ANETRES_H
  14. class CDHCP_AssociationSubnetToReservation : public Provider
  15. {
  16. private:
  17. // Loader function for the properties values.
  18. BOOL LoadInstanceProperties(CInstance* pInstance);
  19. protected:
  20. // Reading Functions
  21. virtual HRESULT EnumerateInstances(MethodContext* pMethodContext, long lFlags = 0L);
  22. virtual HRESULT GetObject(CInstance* pInstance, long lFlags = 0L);
  23. virtual HRESULT ExecQuery(MethodContext *pMethodContext, CFrameworkQuery& Query, long lFlags = 0L);
  24. // Writing Functions
  25. virtual HRESULT PutInstance(const CInstance& Instance, long lFlags = 0L);
  26. virtual HRESULT DeleteInstance(const CInstance& Instance, long lFlags = 0L);
  27. // Other Functions
  28. virtual HRESULT ExecMethod( const CInstance& Instance,
  29. const BSTR bstrMethodName,
  30. CInstance *pInParams,
  31. CInstance *pOutParams,
  32. long lFlags = 0L );
  33. public:
  34. // Constructor/destructor
  35. CDHCP_AssociationSubnetToReservation(const CHString& chsClassName, LPCSTR lpszNameSpace);
  36. virtual ~CDHCP_AssociationSubnetToReservation();
  37. };
  38. #endif