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.

50 lines
1.4 KiB

  1. /**********************************************************************/
  2. /** Microsoft Windows/NT **/
  3. /** Copyright(c) Microsoft Corporation, 1997 - 1999 **/
  4. /**********************************************************************/
  5. /*
  6. rtrerr.h
  7. Miscellaneous common router UI.
  8. FILE HISTORY:
  9. */
  10. #ifndef _RTRERR_H
  11. #define _RTRERR_H
  12. /*!--------------------------------------------------------------------------
  13. HandleIRemoteRouterConfigErrors
  14. This function will setup the error code to deal with errors
  15. with creating the IRemoteRouterConfig object.
  16. Returns TRUE if the error code was handled. Returns FALSE
  17. if the error code passed in was an unknown error code.
  18. Deals with:
  19. REGDB_E_CLASSNOTREG
  20. REGDB_E_IIDNOTREG
  21. E_NOINTERFACE
  22. S_OK
  23. Author: KennT
  24. ---------------------------------------------------------------------------*/
  25. BOOL HandleIRemoteRouterConfigErrors(HRESULT hr, LPCTSTR pszMachineName);
  26. /*!--------------------------------------------------------------------------
  27. FormatRasError
  28. Use this to get back an error string from a RAS error code.
  29. Author: KennT
  30. ---------------------------------------------------------------------------*/
  31. HRESULT FormatRasError(HRESULT hr, TCHAR *pszBuffer, UINT cchBuffer);
  32. void AddRasErrorMessage(HRESULT hr);
  33. #endif