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.

64 lines
1.3 KiB

  1. //***************************************************************************
  2. //
  3. // File:
  4. //
  5. // Module: MS SNMP Provider
  6. //
  7. // Purpose:
  8. //
  9. // Copyright (c) 1997-2001 Microsoft Corporation, All Rights Reserved
  10. //
  11. //***************************************************************************
  12. #ifndef __PROPDEL_H
  13. #define __PROPDEL_H
  14. class DeleteInstanceAsyncEventObject : public SnmpSetResponseEventObject
  15. {
  16. private:
  17. SnmpSession *session ;
  18. SetOperation *operation ;
  19. ULONG m_State ;
  20. IWbemObjectSink *m_NotificationHandler ;
  21. wchar_t *m_ObjectPath ;
  22. wchar_t *m_Class ;
  23. ParsedObjectPath *m_ParsedObjectPath ;
  24. CObjectPathParser m_ObjectPathParser ;
  25. SnmpSetClassObject snmpObject ;
  26. protected:
  27. void ProcessComplete () ;
  28. BOOL Delete ( WbemSnmpErrorObject &a_ErrorObject ) ;
  29. BOOL DeleteInstance ( WbemSnmpErrorObject &a_ErrorObject ) ;
  30. public:
  31. DeleteInstanceAsyncEventObject (
  32. CImpPropProv *a_Provider ,
  33. wchar_t *a_ObjectPath ,
  34. ULONG a_Flag ,
  35. IWbemObjectSink *a_NotificationHandler ,
  36. IWbemContext *pCtx
  37. ) ;
  38. ~DeleteInstanceAsyncEventObject () ;
  39. void Process () ;
  40. void ReceiveComplete () ;
  41. void SnmpTooBig () ;
  42. SnmpClassObject *GetSnmpClassObject () { return & snmpObject ; }
  43. } ;
  44. #endif // __PROPDEL_H