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.

36 lines
964 B

  1. //+---------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 1992 - 2000.
  5. //
  6. // File: ldap2umi.hxx
  7. //
  8. // Contents: Header for file containing conversion routines. These routines
  9. // convert the cached ldap values to the respective UMI types.
  10. //
  11. // History: 02-10-00 AjayR Created.
  12. //
  13. //----------------------------------------------------------------------------
  14. #ifndef __LDAP2UMI_H__
  15. #define __LDAP2UMI_H__
  16. //
  17. // Helper routine to convert the ldap syntax id to umi type.
  18. //
  19. HRESULT
  20. ConvertLdapSyntaxIdToUmiType(
  21. DWORD dwLdapSyntaxId,
  22. ULONG &uUmiType
  23. );
  24. HRESULT
  25. LdapTypeToUmiTypeCopy(
  26. LDAPOBJECTARRAY pLdapSrcObjects,
  27. UMI_PROPERTY_VALUES **pProp,
  28. DWORD dwStatus,
  29. DWORD dwLdapSyntaxId,
  30. CCredentials *pCreds, // needed for sd's
  31. LPWSTR pszServerName, // needed for sd's
  32. ULONG uUmiFlags
  33. );
  34. #endif // __LDAP2UMI_H__