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.

42 lines
1.1 KiB

  1. //+-------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. //
  5. // Copyright (C) Microsoft Corporation, 1998 - 1999
  6. //
  7. // File: dssetup.h
  8. //
  9. //--------------------------------------------------------------------------
  10. #ifndef __DSSETUP_H__
  11. #define __DSSETUP_H__
  12. //+------------------------------------------------------------------------
  13. //
  14. // File: dssetup.h
  15. //
  16. // Contents: Header file for DS setup utility functions.
  17. //
  18. // Functions:
  19. //
  20. // History: 1/98 xtan Created
  21. //
  22. //-------------------------------------------------------------------------
  23. BOOL IsDSAvailable(OPTIONAL bool* pfIsOldDSVersion);
  24. HRESULT CreateCertDSHierarchy(VOID);
  25. HRESULT InitializeCertificateTemplates(VOID);
  26. HRESULT AddCAMachineToCertPublishers(VOID);
  27. HRESULT RemoveCAMachineFromCertPublishers(VOID);
  28. HRESULT
  29. RemoveCAInDS(
  30. IN WCHAR const *pwszSanitizedName);
  31. BOOL
  32. IsCAExistInDS(
  33. IN WCHAR const *pwszSanitizedName);
  34. HRESULT CurrentUserCanInstallCA(bool& fCanInstall);
  35. #endif // __SETUPUT_H__