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.

55 lines
735 B

  1. /*++
  2. Copyright (c) 1993 Microsoft Corporation
  3. Module Name:
  4. Verify.C
  5. Abstract:
  6. functions to validate the prerequisites of a secure system are
  7. present in the system.
  8. Author:
  9. Bob Watson (a-robw)
  10. Revision History:
  11. 24 Nov 1994 Written
  12. --*/
  13. #include <windows.h>
  14. #include "c2config.h"
  15. #include "resource.h"
  16. #include "strings.h"
  17. #define NUM_BUFS 4
  18. DWORD
  19. C2VerifyPrerequisites (
  20. IN DWORD dwFlags
  21. )
  22. /*
  23. IN DWORD dwFlags
  24. C2V_DEBUG = 0x8000000 forces all functions to return error
  25. */
  26. {
  27. DWORD dwReturn;
  28. dwReturn = 0;
  29. dwReturn |= C2_VerifyNTFS(dwFlags);
  30. dwReturn |= C2_VerifyNoDos(dwFlags);
  31. dwReturn |= C2_VerifyNoNetwork(dwFlags);
  32. return dwReturn;
  33. }