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.

27 lines
916 B

  1. //+-------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. //
  5. // Copyright (C) Microsoft Corporation, 2002
  6. //
  7. // File: sfscript.h
  8. //
  9. //--------------------------------------------------------------------------
  10. #ifndef __SFSCRIPT_H__
  11. #define __SFSCRIPT_H__ 1
  12. // Our design is to allow 500 certificates in a store through script
  13. #define MAX_SAFE_FOR_SCRIPTING_REQUEST_STORE_COUNT 500
  14. BOOL WINAPI MySafeCertAddCertificateContextToStore(HCERTSTORE hCertStore,
  15. PCCERT_CONTEXT pCertContext,
  16. DWORD dwAddDisposition,
  17. PCCERT_CONTEXT *ppStoreContext,
  18. DWORD dwSafetyOptions);
  19. BOOL VerifyProviderFlagsSafeForScripting(DWORD dwFlags);
  20. BOOL VerifyStoreFlagsSafeForScripting(DWORD dwFlags);
  21. BOOL VerifyStoreSafeForScripting(HCERTSTORE hStore);
  22. #endif // #ifndef __SFSCRIPT_H__