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.

84 lines
2.0 KiB

  1. //+-------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. //
  5. // Copyright (C) Microsoft Corporation, 1996 - 1999
  6. //
  7. // File: locals.h
  8. //
  9. // Contents: Microsoft Internet Security
  10. //
  11. // History: 09-Oct-1997 pberkman created
  12. //
  13. //--------------------------------------------------------------------------
  14. #ifndef LOCALS_H
  15. #define LOCALS_H
  16. #ifdef __cplusplus
  17. extern "C" {
  18. #endif /* __cplusplus */
  19. #define OID_REGPATH L"Software\\Microsoft\\Cryptography\\OID"
  20. #define PROVIDERS_REGPATH L"Software\\Microsoft\\Cryptography\\Providers\\Trust"
  21. #define SERVICES_REGPATH L"Software\\Microsoft\\Cryptography\\Services"
  22. #define SYSTEM_STORE_REGPATH L"Software\\Microsoft\\SystemCertificates"
  23. #define GROUP_POLICY_STORE_REGPATH L"Software\\Policies\\Microsoft\\SystemCertificates"
  24. #define ENTERPRISE_STORE_REGPATH L"Software\\Microsoft\\EnterpriseCertificates"
  25. #define ROOT_STORE_REGPATH L"Software\\Microsoft\\SystemCertificates\\Root"
  26. //
  27. // initpki.cpp
  28. //
  29. extern HMODULE hModule;
  30. extern BOOL WINAPI InitializePKI(void);
  31. extern HRESULT RegisterCryptoDlls(BOOL fSetFlags);
  32. extern HRESULT UnregisterCryptoDlls(void);
  33. void RegisterWinlogonExtension(
  34. IN LPCSTR pszSubKey,
  35. IN LPCSTR pszDll,
  36. IN LPCSTR pszProc
  37. );
  38. void RegisterCrypt32EventSource();
  39. //
  40. // initacl.cpp
  41. //
  42. extern BOOL InitializeHKLMAcls();
  43. //
  44. // pkireg.cpp
  45. //
  46. typedef struct POLSET_
  47. {
  48. DWORD dwSetting;
  49. BOOL fOn;
  50. } POLSET;
  51. extern POLSET psPolicySettings[];
  52. extern void CleanupRegistry(void);
  53. extern BOOL _LoadAndRegister(char *pszDll, BOOL fUnregister);
  54. extern BOOL _AdjustPolicyFlags(POLSET *pPolSet);
  55. //
  56. // mvcerts.cpp
  57. //
  58. extern HRESULT MoveCertificates(BOOL fDelete);
  59. extern BOOL TestIE30Store(HKEY hRegRoot, LPCSTR psLoc);
  60. extern HRESULT TransferIE30Certificates(HKEY hRegRoot, LPCSTR psLoc, HCERTSTORE hStore, BOOL fDelete);
  61. #ifdef __cplusplus
  62. }
  63. #endif /* __cplusplus */
  64. #endif // LOCALS_H