Leaked source code of windows server 2003
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.

73 lines
1.5 KiB

  1. //---------------------------------------------------------------------------
  2. //
  3. //
  4. // Microsoft Windows
  5. // Copyright (C) Microsoft Corporation, 1992 - 1995
  6. //
  7. // File: schmgmt.hxx
  8. //
  9. // Contents: Microsoft ADs LDAP Provider Generic Object
  10. //
  11. //
  12. // History: 03-02-97 ShankSh Created.
  13. //
  14. //----------------------------------------------------------------------------
  15. #ifndef _SCHMGMT_H_INCLUDED_
  16. #define _SCHMGMT_H_INCLUDED_
  17. HRESULT
  18. ADsEnumAttributes(
  19. LPWSTR pszLDAPServer,
  20. LPWSTR pszLDAPDn,
  21. CCredentials Credentials,
  22. DWORD dwPort,
  23. LPWSTR * ppszAttrNames,
  24. DWORD dwNumAttributes,
  25. PADS_ATTR_DEF * ppAttrDefinition,
  26. DWORD * pdwNumAttributes
  27. );
  28. HRESULT
  29. ADsCreateAttributeDefinition(
  30. LPWSTR pszAttributeName,
  31. PADS_ATTR_DEF pAttributeDefinition
  32. );
  33. HRESULT
  34. ADsWriteAttributeDefinition(
  35. LPWSTR pszAttributeName,
  36. PADS_ATTR_DEF pAttributeDefinition
  37. );
  38. HRESULT
  39. ADsDeleteAttributeDefinition(
  40. LPWSTR pszAttributeName
  41. );
  42. HRESULT
  43. ADsEnumClasses(
  44. LPWSTR * ppszClassNames,
  45. DWORD dwNumClasses,
  46. PADS_CLASS_DEF * ppClassDefinition,
  47. DWORD * pdwNumClasses
  48. );
  49. HRESULT
  50. ADsCreateClassDefinition(
  51. LPWSTR pszClassName,
  52. PADS_CLASS_DEF pClassDefinition
  53. );
  54. HRESULT
  55. ADsWriteClassDefinition(
  56. LPWSTR pszClassName,
  57. PADS_CLASS_DEF pClassDefinition
  58. );
  59. HRESULT
  60. ADsDeleteClassDefinition(
  61. LPWSTR pszClassName
  62. );
  63. #endif // _SCHMGMT_H_INCLUDED_