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.

67 lines
1.4 KiB

  1. //---------------------------------------------------------------------------
  2. //
  3. //
  4. // Microsoft Windows
  5. // Copyright (C) Microsoft Corporation, 1992 - 1997
  6. //
  7. // File: cdsobj.cxx
  8. //
  9. // Contents: Microsoft ADs LDAP Provider DSObject
  10. //
  11. //
  12. // History: 02-20-97 yihsins Created.
  13. //
  14. //----------------------------------------------------------------------------
  15. HRESULT
  16. ADsSetObjectAttributes(
  17. ADS_LDP *ld,
  18. LPTSTR pszLDAPServer,
  19. LPTSTR pszLDAPDn,
  20. CCredentials Credentials,
  21. DWORD dwPort,
  22. SECURITY_INFORMATION seInfo,
  23. PADS_ATTR_INFO pAttributeEntries,
  24. DWORD dwNumAttributes,
  25. DWORD *pdwNumAttributesModified
  26. );
  27. HRESULT
  28. ADsGetObjectAttributes(
  29. ADS_LDP *ld,
  30. LPTSTR pszLDAPServer,
  31. LPTSTR pszLDAPDn,
  32. CCredentials Credentials,
  33. DWORD dwPort,
  34. SECURITY_INFORMATION seInfo,
  35. LPWSTR *pAttributeNames,
  36. DWORD dwNumberAttributes,
  37. PADS_ATTR_INFO *ppAttributeEntries,
  38. DWORD * pdwNumAttributesReturned
  39. );
  40. HRESULT
  41. ADsCreateDSObject(
  42. ADS_LDP *ld,
  43. LPTSTR ADsPath,
  44. LPWSTR pszRDNName,
  45. PADS_ATTR_INFO pAttributeEntries,
  46. DWORD dwNumAttributes
  47. );
  48. HRESULT
  49. ADsDeleteDSObject(
  50. ADS_LDP *ld,
  51. LPTSTR ADsPath,
  52. LPWSTR pszRDNName
  53. );
  54. HRESULT
  55. ADsCreateDSObjectExt(
  56. ADS_LDP *ld,
  57. LPTSTR ADsPath,
  58. LPWSTR pszRDNName,
  59. PADS_ATTR_INFO pAttributeEntries,
  60. DWORD dwNumAttributes,
  61. SECURITY_INFORMATION seInfo,
  62. BOOL fSecDesc = FALSE
  63. );