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.

48 lines
1.1 KiB

  1. //+-------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. //
  5. // Copyright (C) Microsoft Corporation, 1996 - 1999
  6. //
  7. // File: storprov.h
  8. //
  9. // Contents: Microsoft Internet Security Trust Provider
  10. //
  11. // History: 15-Oct-1997 pberkman created
  12. //
  13. //--------------------------------------------------------------------------
  14. #ifndef STORPROV_H
  15. #define STORPROV_H
  16. #ifdef __cplusplus
  17. extern "C"
  18. {
  19. #endif
  20. #define WVT_STOREID_ROOT 0
  21. #define WVT_STOREID_TRUST 1
  22. #define WVT_STOREID_CA 2
  23. #define WVT_STOREID_MY 3
  24. #define WVT_STOREID_SPC 4
  25. #define WVT_STOREID_LM_MY 5
  26. #define WVT_STOREID_MAX 6
  27. typedef struct STORE_REF_
  28. {
  29. DWORD dwFlags;
  30. WCHAR *pwszStoreName;
  31. HCERTSTORE hStore;
  32. } STORE_REF;
  33. extern HCERTSTORE StoreProviderGetStore(HCRYPTPROV hProv, DWORD dwStoreId);
  34. extern BOOL StoreProviderUnload(void);
  35. #ifdef __cplusplus
  36. }
  37. #endif
  38. #endif // STORPROV_H