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.

71 lines
1.7 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. // pkireg.cpp
  41. //
  42. typedef struct POLSET_
  43. {
  44. DWORD dwSetting;
  45. BOOL fOn;
  46. } POLSET;
  47. extern POLSET psPolicySettings[];
  48. extern void CleanupRegistry(void);
  49. extern BOOL _LoadAndRegister(char *pszDll, BOOL fUnregister);
  50. extern BOOL _AdjustPolicyFlags(POLSET *pPolSet);
  51. #ifdef __cplusplus
  52. }
  53. #endif /* __cplusplus */
  54. #endif // LOCALS_H