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.

64 lines
1.2 KiB

  1. /*++
  2. Copyright (c) Microsoft Corporation. All rights reserved.
  3. Module Name:
  4. INFSCAN
  5. installscan.inl
  6. Abstract:
  7. Install section scanning functions (inline)
  8. History:
  9. Created July 2001 - JamieHun
  10. --*/
  11. //
  12. // redirected
  13. //
  14. inline void InstallScan::Fail(int err,const StringList & errors)
  15. {
  16. if(pInfScan) {
  17. pInfScan->Fail(err,errors);
  18. }
  19. }
  20. inline void InstallScan::Fail(int err)
  21. {
  22. StringList errors;
  23. Fail(err,errors);
  24. }
  25. inline void InstallScan::Fail(int err,const SafeString & one)
  26. {
  27. StringList errors;
  28. errors.push_back(one);
  29. Fail(err,errors);
  30. }
  31. inline void InstallScan::Fail(int err,const SafeString & one,const SafeString & two)
  32. {
  33. StringList errors;
  34. errors.push_back(one);
  35. errors.push_back(two);
  36. Fail(err,errors);
  37. }
  38. inline void InstallScan::Fail(int err,const SafeString & one,const SafeString & two,const SafeString & three)
  39. {
  40. StringList errors;
  41. errors.push_back(one);
  42. errors.push_back(two);
  43. errors.push_back(three);
  44. Fail(err,errors);
  45. }
  46. inline BOOL InstallScan::Pedantic()
  47. {
  48. return pGlobalScan->Pedantic;
  49. }