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.

64 lines
1.0 KiB

  1. class CNDSSchema;
  2. class CNDSSchema : INHERIT_TRACKING,
  3. public CCoreADsObject,
  4. public IADs,
  5. public IADsContainer
  6. {
  7. public:
  8. /* IUnknown methods */
  9. STDMETHOD(QueryInterface)(THIS_ REFIID riid, LPVOID FAR* ppvObj) ;
  10. DECLARE_STD_REFCOUNTING
  11. DECLARE_IDispatch_METHODS
  12. DECLARE_IADs_METHODS
  13. DECLARE_IADsContainer_METHODS
  14. CNDSSchema::CNDSSchema();
  15. CNDSSchema::~CNDSSchema();
  16. static
  17. HRESULT
  18. CNDSSchema::CreateSchema(
  19. BSTR Parent,
  20. BSTR CommonName,
  21. CCredentials& Credentials,
  22. DWORD dwObjectState,
  23. REFIID riid,
  24. void **ppvObj
  25. );
  26. static
  27. HRESULT
  28. CNDSSchema::AllocateSchema(
  29. CNDSSchema ** ppSchema,
  30. CCredentials& Credentials
  31. );
  32. STDMETHOD(GetInfo)(
  33. THIS_ DWORD dwApiLevel,
  34. BOOL fExplicit
  35. );
  36. protected:
  37. VARIANT _vFilter;
  38. BSTR _NDSTreeName;
  39. CDispatchMgr FAR * _pDispMgr;
  40. CCredentials _Credentials;
  41. };