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.

38 lines
1017 B

  1. //+---------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 1992 - 2000.
  5. //
  6. // File: umi2ldap.hxx
  7. //
  8. // Contents: Header for file containing conversion routines. These routines
  9. // convert the given UMI values from the user to ldap values.
  10. //
  11. // History: 02-17-00 AjayR Created.
  12. //
  13. //----------------------------------------------------------------------------
  14. #ifndef __UMI2LDAP_H__
  15. #define __UMI2LDAP_H__
  16. //
  17. // Need the bool value as the caller should tell us if this is
  18. // of type UTCTime or GeneralizedTime.
  19. //
  20. HRESULT
  21. UmiTypeToLdapTypeCopy(
  22. UMI_PROPERTY_VALUES umiPropValues,
  23. ULONG ulFlags,
  24. LDAPOBJECTARRAY *pLdapDestObjects,
  25. DWORD &dwLdapSyntaxId,
  26. CCredentials *pCreds,
  27. LPWSTR pszServerName,
  28. BOOL fUtcTime = FALSE
  29. );
  30. HRESULT
  31. UmiTypeToLdapTypeEnum(
  32. ULONG ulUmiType,
  33. PDWORD pdwSyntax
  34. );
  35. #endif // __UMI2LDAP_H__