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.

81 lines
1.3 KiB

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