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.

55 lines
1.2 KiB

  1. /* ----------------------------------------------------------------------
  2. Module: ULS.DLL (Service Provider)
  3. File: spstdatt.h
  4. Content: This file contains the standard-attribute object definition.
  5. History:
  6. 10/15/96 Chu, Lon-Chan [lonchanc]
  7. Created.
  8. Copyright (c) Microsoft Corporation 1996-1997
  9. ---------------------------------------------------------------------- */
  10. #ifndef _ULS_SP_STDATTR_H_
  11. #define _ULS_SP_STDATTR_H_
  12. #include <pshpack8.h>
  13. class UlsLdap_CStdAttrs
  14. {
  15. friend class UlsLdap_CLocalUser;
  16. friend class UlsLdap_CLocalApp;
  17. friend class UlsLdap_CLocalProt;
  18. public:
  19. UlsLdap_CStdAttrs ( VOID );
  20. ~UlsLdap_CStdAttrs ( VOID );
  21. protected:
  22. HRESULT SetStdAttrs ( ULONG *puRespID, ULONG *puMsgID,
  23. ULONG uNotifyMsg, VOID *pInfo,
  24. SERVER_INFO *pServerInfo, TCHAR *pszDN );
  25. private:
  26. virtual HRESULT CacheInfo ( VOID *pInfo ) = 0;
  27. virtual HRESULT CreateSetStdAttrsModArr ( LDAPMod ***pppMod ) = 0;
  28. ULONG m_uDontCare; // avoid zero size
  29. };
  30. HRESULT FillDefStdAttrsModArr ( LDAPMod ***pppMod, DWORD dwFlags,
  31. ULONG cMaxAttrs, ULONG *pcTotal,
  32. LONG IsbuModOp,
  33. ULONG cPrefix, TCHAR *pszPrefix );
  34. #include <poppack.h>
  35. #endif // _ULS_SP_STDATTR_H_