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.

62 lines
1.2 KiB

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