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.

34 lines
1006 B

  1. #ifndef _enum_h_
  2. #define _enum_h_
  3. class CEnum
  4. {
  5. public:
  6. CEnum();
  7. ~CEnum();
  8. void Init(IWbemObjectSink FAR*, CWbemServices*, ParsedObjectPath*, LPWSTR, WMI_ASSOCIATION*);
  9. void Recurse(LPCWSTR, enum_KEY_TYPE, LPCWSTR, LPCWSTR, enum_KEY_TYPE);
  10. private:
  11. bool ContinueRecurse(enum_KEY_TYPE, enum_KEY_TYPE);
  12. void SetObjectPath(LPCWSTR, LPCWSTR, IWbemClassObject*);
  13. void DoPing(LPCWSTR, LPCWSTR, LPCWSTR);
  14. void PingAssociation(LPCWSTR);
  15. void PingObject();
  16. void DoPingAdminACL(enum_KEY_TYPE, LPCWSTR, LPCWSTR);
  17. void PingAssociationAdminACL(LPCWSTR);
  18. void EnumACE(LPCWSTR);
  19. void DoPingIPSecurity(enum_KEY_TYPE, LPCWSTR, LPCWSTR);
  20. void PingAssociationIPSecurity(LPCWSTR);
  21. CMetabase m_metabase;
  22. CWbemInstanceMgr* m_pInstMgr;
  23. CWbemServices* m_pNamespace;
  24. WMI_ASSOCIATION* m_pAssociation;
  25. ParsedObjectPath* m_pParsedObject;
  26. METADATA_HANDLE m_hKey;
  27. };
  28. #endif