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.

49 lines
1004 B

  1. /**********************************************************************/
  2. /** Microsoft Windows NT **/
  3. /** Copyright(c) Microsoft Corp., 1992 **/
  4. /**********************************************************************/
  5. /*
  6. errmap.hxx
  7. ERRMAP class declaration
  8. FILE HISTORY:
  9. thomaspa 02-Mar-1992 Created
  10. */
  11. #ifndef _ERRMAP_HXX_
  12. #define _ERRMAP_HXX_
  13. /*************************************************************************
  14. NAME: ERRMAP
  15. WORKBOOK:
  16. SYNOPSIS: a static class used to map NTSTATUS codes to APIERR codes
  17. INTERFACE:
  18. MapNTStatus() - map an NTSTATUS to an APIERR
  19. PARENT:
  20. HISTORY:
  21. thomaspa 2-Mar-92 Created
  22. **************************************************************************/
  23. DLL_CLASS ERRMAP
  24. {
  25. public:
  26. static APIERR MapNTStatus( NTSTATUS ntstatus,
  27. BOOL *pfMapped = NULL,
  28. APIERR apierrDefReturn = 0);
  29. };
  30. #endif // _ERRMAP_HXX_