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.

106 lines
1.7 KiB

  1. #define IS_EXPLICIT_PORT(dwPort) \
  2. ((dwPort) != USE_DEFAULT_GC_PORT) && \
  3. ((dwPort) != USE_DEFAULT_LDAP_PORT)
  4. HRESULT
  5. BuildADsParentPathFromObjectInfo2(
  6. POBJECTINFO pObjectInfo,
  7. LPWSTR *ppszParent,
  8. LPWSTR *ppszCommonName
  9. );
  10. HRESULT
  11. BuildADsParentPath(
  12. LPWSTR szBuffer,
  13. LPWSTR *ppszParent,
  14. LPWSTR *ppszCommonName
  15. );
  16. HRESULT
  17. BuildADsParentPathFromObjectInfo(
  18. POBJECTINFO pObjectInfo,
  19. LPWSTR pszParent,
  20. LPWSTR pszCommonName
  21. );
  22. HRESULT
  23. AppendComponent(
  24. LPWSTR pszADsPathName,
  25. PCOMPONENT pComponent
  26. );
  27. HRESULT
  28. ComputeAllocateParentCommonNameSize(
  29. POBJECTINFO pObjectInfo,
  30. LPWSTR * ppszParent,
  31. LPWSTR * ppszCommonName
  32. );
  33. HRESULT
  34. BuildADsPathFromParent(
  35. LPWSTR Parent,
  36. LPWSTR Name,
  37. LPWSTR *ppszADsPath
  38. );
  39. HRESULT
  40. BuildADsPathFromParentObjectInfo(
  41. POBJECTINFO pParentObjectInfo,
  42. LPWSTR pszName,
  43. LPWSTR pszADsPath
  44. );
  45. HRESULT
  46. AppendComponent(
  47. LPWSTR szLDAPPathName,
  48. PCOMPONENT pComponent
  49. );
  50. HRESULT
  51. BuildLDAPPathFromADsPath(
  52. LPWSTR szADsPathName,
  53. LPWSTR *pszLDAPPathName
  54. );
  55. HRESULT
  56. BuildADsPathFromLDAPPath(
  57. LPWSTR szNamespace,
  58. LPWSTR szLdapDN,
  59. LPWSTR * ppszADsPathName
  60. );
  61. HRESULT
  62. BuildLDAPPathFromADsPath2(
  63. LPWSTR szADsPathName,
  64. LPWSTR *pszLDAPServer,
  65. LPWSTR *pszLDAPDn,
  66. DWORD * pdwPort
  67. );
  68. HRESULT
  69. BuildADsPathFromLDAPPath2(
  70. DWORD dwServerPresent,
  71. LPWSTR szADsNamespace,
  72. LPWSTR szLDAPServer,
  73. DWORD dwPort,
  74. LPWSTR szLDAPDn,
  75. LPWSTR * ppszADsPathName
  76. );
  77. HRESULT
  78. GetNamespaceFromADsPath(
  79. LPWSTR szADsPath,
  80. LPWSTR pszNamespace
  81. );
  82. HRESULT
  83. ChangeSeparator(
  84. LPWSTR pszDN
  85. );