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.

50 lines
1.1 KiB

  1. //+---------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 1992 - 1996.
  5. //
  6. // File: ldap2var.cxx
  7. //
  8. // Contents: LDAP Object to Variant Copy Routines
  9. //
  10. // Functions:
  11. //
  12. // History: 25-Apr-96 yihsins Created.
  13. //
  14. //----------------------------------------------------------------------------
  15. typedef VARIANT *PVARIANT, *LPVARIANT;
  16. HRESULT
  17. LdapTypeToVarTypeCopy(
  18. LPWSTR pszServerName,
  19. CCredentials& Credentials,
  20. PLDAPOBJECT pLdapSrcObject,
  21. DWORD dwSyntaxId,
  22. PVARIANT lpVarDestObject
  23. );
  24. HRESULT
  25. LdapTypeToVarTypeCopyConstruct(
  26. LPWSTR pszServerName,
  27. CCredentials& Credentials,
  28. LDAPOBJECTARRAY ldapObjectArray,
  29. DWORD dwSyntaxId,
  30. PVARIANT pVarDestObjects
  31. );
  32. //
  33. // These routines are used by ldap2umi also.
  34. //
  35. HRESULT
  36. LdapTypeToVarTypeDNWithBinary(
  37. PLDAPOBJECT pLdapSrcObject,
  38. PVARIANT pVarDestObject
  39. );
  40. HRESULT
  41. LdapTypeToVarTypeDNWithString(
  42. PLDAPOBJECT pLdapSrcObject,
  43. PVARIANT pVarDestObject
  44. );
  45.