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.

36 lines
609 B

  1. // Copyright (c) 1997-1999 Microsoft Corporation
  2. //
  3. // Shared Dialog code
  4. //
  5. // 3-11-98 sburns
  6. #ifndef COMMON_HPP_INCLUDED
  7. #define COMMON_HPP_INCLUDED
  8. #include <chstring.h>
  9. // translates an hresult to an error string
  10. // special cases WMI errors
  11. // returns TRUE if lookup successful
  12. bool ErrorLookup(HRESULT hr, CHString& message);
  13. void
  14. AppError(
  15. HWND parent,
  16. HRESULT hr,
  17. const CHString& message);
  18. void
  19. AppMessage(HWND parent, const CHString& message);
  20. void
  21. AppMessage(HWND parent, int messageResID);
  22. #endif // COMMON_HPP_INCLUDED