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.

44 lines
1.7 KiB

  1. //-----------------------------------------------------------------------------
  2. //
  3. // File: _errorrep.h
  4. // Copyright (C) 1994-1997 Microsoft Corporation
  5. // All rights reserved.
  6. //
  7. // Error reporting mechanism for Espresso 2.0
  8. //
  9. //-----------------------------------------------------------------------------
  10. #ifndef ESPUTIL__ERRORREP_H
  11. #define ESPUTIL__ERRORREP_H
  12. ////////////////////// the new global issuemessage functions.
  13. void LTAPIENTRY IssueMessage(MessageSeverity, const CLString &strContext,
  14. const CLString &strMessage, const CLocation &, UINT uiHelpContext = 0);
  15. void LTAPIENTRY IssueMessage(MessageSeverity, const CLString &strContext,
  16. HINSTANCE hResourceDll, UINT uiStringId, const CLocation &,
  17. UINT uiHelpContext = 0);
  18. void LTAPIENTRY IssueMessage(MessageSeverity, const CLString &strContext,
  19. const CLocation &, CException *);
  20. void LTAPIENTRY IssueMessage(MessageSeverity, HINSTANCE hResourceDll,
  21. UINT uiContext, const CLString &strMessage,
  22. const CLocation &, UINT uiHelpContext = 0);
  23. void LTAPIENTRY IssueMessage(MessageSeverity, HINSTANCE hResourceDll,
  24. UINT uiContextId, UINT uiStringId,
  25. const CLocation &, UINT uiHelpContext = 0);
  26. void LTAPIENTRY IssueMessage(MessageSeverity, HINSTANCE hResourceDll,
  27. UINT uiContext, const CLocation &, CException *);
  28. void LTAPIENTRY IssueMessage(MessageSeverity, const CContext &,
  29. const CLString &, UINT uiHelpId = 0);
  30. void LTAPIENTRY IssueMessage(MessageSeverity, const CContext &,
  31. HINSTANCE, UINT, UINT uiHelpId = 0);
  32. void LTAPIENTRY SetErrorReporter(CReporter *, BOOL fBatchMode);
  33. void LTAPIENTRY GetErrorReporter(CReporter *&, BOOL &);
  34. #if !defined(_DEBUG) || defined(IMPLEMENT)
  35. #include "_errorrep.inl"
  36. #endif
  37. #endif