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.

80 lines
1.2 KiB

  1. //
  2. // used in ldapc\ldap2var.cxx also
  3. //
  4. HRESULT
  5. LdapTypeToAdsTypeGeneralizedTime(
  6. PLDAPOBJECT pLdapSrcObject,
  7. PADSVALUE pAdsDestValue
  8. );
  9. //
  10. // used in ldapc\ldap2var.cxx also
  11. //
  12. HRESULT
  13. LdapTypeToAdsTypeUTCTime(
  14. PLDAPOBJECT pLdapSrcObject,
  15. PADSVALUE pAdsDestValue
  16. );
  17. HRESULT
  18. UTCTimeStringToUTCTime(
  19. LPWSTR szTime,
  20. SYSTEMTIME *pst);
  21. HRESULT
  22. GenTimeStringToUTCTime(
  23. LPWSTR szTime,
  24. SYSTEMTIME *pst);
  25. HRESULT
  26. LdapTypeToAdsTypeDNWithBinary(
  27. PLDAPOBJECT pLdapSrcObject,
  28. PADSVALUE pAdsDestValue
  29. );
  30. HRESULT
  31. LdapTypeToAdsTypeDNWithString(
  32. PLDAPOBJECT pLdapSrcObject,
  33. PADSVALUE pAdsDestValue
  34. );
  35. //
  36. // Helper routines that do the dnwithbin/str conversions
  37. //
  38. HRESULT
  39. LdapDNWithBinToAdsTypeHelper(
  40. LPWSTR pszLdaSrcString,
  41. PADSVALUE pAdsDestValue
  42. );
  43. HRESULT
  44. LdapDNWithStrToAdsTypeHelper(
  45. LPWSTR pszLdaSrcString,
  46. PADSVALUE pAdsDestValue
  47. );
  48. #ifdef __cplusplus
  49. extern "C" {
  50. #endif
  51. void
  52. AdsTypeFreeAdsObjects(
  53. PADSVALUE pAdsDestValues,
  54. DWORD dwNumObjects
  55. );
  56. HRESULT
  57. LdapTypeToAdsTypeCopyConstruct(
  58. LDAPOBJECTARRAY ldapSrcObjects,
  59. DWORD dwSyntaxId,
  60. PADSVALUE *ppAdsDestValues,
  61. PDWORD pdwNumAdsValues,
  62. PDWORD pdwAdsType
  63. );
  64. #ifdef __cplusplus
  65. }
  66. #endif