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.

70 lines
1.7 KiB

  1. class FAR CNWCOMPATSchemaEnum : public CNWCOMPATEnumVariant
  2. {
  3. public:
  4. // IEnumVARIANT methods
  5. STDMETHOD(Next)( ULONG cElements,
  6. VARIANT FAR* pvar,
  7. ULONG FAR* pcElementFetched);
  8. static HRESULT Create( CNWCOMPATSchemaEnum FAR* FAR* ppenumvariant,
  9. BSTR bstrADsPath,
  10. BSTR bstrDomainName,
  11. VARIANT vFilter );
  12. CNWCOMPATSchemaEnum();
  13. ~CNWCOMPATSchemaEnum();
  14. HRESULT EnumObjects( ULONG cElements,
  15. VARIANT FAR * pvar,
  16. ULONG FAR * pcElementFetched );
  17. private:
  18. ObjectTypeList FAR *_pObjList;
  19. BSTR _bstrName;
  20. BSTR _bstrADsPath;
  21. DWORD _dwCurrentEntry;
  22. DWORD _dwPropCurrentEntry;
  23. HRESULT
  24. CNWCOMPATSchemaEnum::GetClassObject( IDispatch **ppDispatch );
  25. HRESULT
  26. EnumClasses( ULONG cElements,
  27. VARIANT FAR* pvar,
  28. ULONG FAR* pcElementFetched );
  29. HRESULT
  30. CNWCOMPATSchemaEnum::EnumProperties(
  31. ULONG cElements,
  32. VARIANT FAR* pvar,
  33. ULONG FAR* pcElementFetched
  34. );
  35. HRESULT
  36. CNWCOMPATSchemaEnum::GetPropertyObject(
  37. IDispatch ** ppDispatch
  38. );
  39. HRESULT
  40. CNWCOMPATSchemaEnum::GetSyntaxObject( IDispatch **ppDispatch );
  41. HRESULT
  42. EnumSyntaxObjects( ULONG cElements,
  43. VARIANT FAR* pvar,
  44. ULONG FAR* pcElementFetched );
  45. HRESULT
  46. CNWCOMPATSchemaEnum::EnumObjects( DWORD ObjectType,
  47. ULONG cElements,
  48. VARIANT FAR * pvar,
  49. ULONG FAR * pcElementFetched );
  50. };