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.

74 lines
1.3 KiB

  1. class CNDSUser;
  2. class CNDSUser : INHERIT_TRACKING,
  3. public IADsUser,
  4. public ISupportErrorInfo,
  5. public IDirectoryObject,
  6. public IDirectorySearch,
  7. public IDirectorySchemaMgmt,
  8. public IADsPropertyList
  9. {
  10. public:
  11. /* IUnknown methods */
  12. STDMETHOD(QueryInterface)(THIS_ REFIID riid, LPVOID FAR* ppvObj) ;
  13. DECLARE_STD_REFCOUNTING
  14. DECLARE_IDispatch_METHODS
  15. DECLARE_ISupportErrorInfo_METHODS
  16. DECLARE_IADs_METHODS
  17. DECLARE_IDirectoryObject_METHODS
  18. DECLARE_IDirectorySearch_METHODS
  19. DECLARE_IDirectorySchemaMgmt_METHODS
  20. DECLARE_IADsUser_METHODS
  21. DECLARE_IADsPropertyList_METHODS
  22. CNDSUser::CNDSUser();
  23. CNDSUser::~CNDSUser();
  24. static
  25. HRESULT
  26. CNDSUser::CreateUser(
  27. IADs *pADs,
  28. CCredentials& Credentials,
  29. REFIID riid,
  30. void **ppvObj
  31. );
  32. static
  33. HRESULT
  34. CNDSUser::AllocateUserObject(
  35. IADs *pADs,
  36. CCredentials& Credentials,
  37. CNDSUser ** ppUser
  38. );
  39. protected:
  40. IADs FAR * _pADs;
  41. IADsPropertyList FAR * _pADsPropList;
  42. IDirectoryObject FAR * _pDSObject;
  43. IDirectorySearch FAR * _pDSSearch;
  44. IDirectorySchemaMgmt FAR * _pDSSchemaMgmt;
  45. CDispatchMgr FAR * _pDispMgr;
  46. CCredentials _Credentials;
  47. };
  48. 
  49.