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.

47 lines
1.5 KiB

  1. //+---------------------------------------------------------------------------
  2. //
  3. // Copyright (C) 1996 - 1997, Microsoft Corporation.
  4. //
  5. // File: errormsg.hxx
  6. //
  7. // Contents: Error messages for output/running queries
  8. //
  9. // History: 96/Mar/3 DwightKr Created
  10. //
  11. //----------------------------------------------------------------------------
  12. #pragma once
  13. enum
  14. {
  15. eIDQParseError = 0,
  16. eIDQPlistError,
  17. eHTXParseError,
  18. eRestrictionParseError,
  19. eDefaultISAPIError,
  20. eWebServerWriteError,
  21. };
  22. void GetErrorPageNoThrow( int eErrorClass,
  23. NTSTATUS status,
  24. ULONG ulErrorLine,
  25. WCHAR const * wcsErrorFileName,
  26. CVariableSet * variableSet,
  27. COutputFormat * outputFormat,
  28. LCID locale,
  29. CWebServer & webServer,
  30. CVirtualString & vString );
  31. void GetErrorPageNoThrow( int eErrorClass,
  32. SCODE scError,
  33. WCHAR const * pwszErrorMessage,
  34. CVariableSet * pVariableSet,
  35. COutputFormat * pOutputFormat,
  36. LCID locale,
  37. CWebServer & webServer,
  38. CVirtualString & vString );
  39. void ReturnServerError( ULONG httpError,
  40. CWebServer & webServer );
  41. void LoadServerErrors( );