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.

35 lines
1.2 KiB

  1. #pragma once
  2. #define SXS_VALIDATE_ASM_FLAG_CHECK_CATALOG ( 0x00000001 )
  3. #define SXS_VALIDATE_ASM_FLAG_CHECK_FILES ( 0x00000002 )
  4. #define SXS_VALIDATE_ASM_FLAG_CHECK_STRONGNAME ( 0x00000004 )
  5. #define SXS_VALIDATE_ASM_FLAG_CHECK_CAT_STRONGNAME ( 0x00000008 )
  6. #define SXS_VALIDATE_ASM_FLAG_CHECK_EVERYTHING ( 0x0000000F )
  7. #define SXS_VALIDATE_ASM_FLAG_MODE_STOP_ON_FAIL ( 0x00000100 )
  8. #define SXS_VALIDATE_ASM_FLAG_VALID_CATALOG SXS_VALIDATE_ASM_FLAG_CHECK_CATALOG
  9. #define SXS_VALIDATE_ASM_FLAG_VALID_FILES SXS_VALIDATE_ASM_FLAG_CHECK_FILES
  10. #define SXS_VALIDATE_ASM_FLAG_VALID_STRONGNAME SXS_VALIDATE_ASM_FLAG_CHECK_STRONGNAME
  11. #define SXS_VALIDATE_ASM_FLAG_VALID_CAT_STRONGNAME SXS_VALIDATE_ASM_FLAG_CHECK_CAT_STRONGNAME
  12. #define SXS_VALIDATE_ASM_FLAG_VALID_PERFECT SXS_VALIDATE_ASM_FLAG_CHECK_EVERYTHING
  13. BOOL
  14. SxspValidateEntireAssembly(
  15. DWORD dwFlags,
  16. const CAssemblyRecoveryInfo &RecoverInfo,
  17. DWORD &dwResult,
  18. PCASSEMBLY_IDENTITY pAssemblyIdentity = NULL,
  19. const CBaseStringBuffer *pbuffWinsxsRoot = NULL
  20. );
  21. //
  22. // Single-shot scanning
  23. //
  24. BOOL
  25. SxsProtectionPerformScanNow(
  26. HWND hwProgressWindow,
  27. BOOL bValidate,
  28. BOOL bUIAllowed
  29. );