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.

69 lines
2.5 KiB

  1. /*******************************************************************************
  2. * DXTError.h *
  3. *------------*
  4. * Description:
  5. * This header file contains the custom error codes specific to DX Transforms
  6. *-------------------------------------------------------------------------------
  7. * Created By: EDC Date: 03/31/98
  8. * Copyright (C) 1998 Microsoft Corporation
  9. * All Rights Reserved
  10. *
  11. *-------------------------------------------------------------------------------
  12. * Revisions:
  13. *
  14. *******************************************************************************/
  15. #ifndef DXTError_h
  16. #define DXTError_h
  17. #ifndef _WINERROR_
  18. #include <winerror.h>
  19. #endif
  20. //=== New codes ===============================================================
  21. #define FACILITY_DXTRANS 0x87A
  22. /*** DXTERR_UNINITIALIZED
  23. * The object (transform, surface, etc.) has not been properly initialized
  24. */
  25. #define DXTERR_UNINITIALIZED MAKE_HRESULT(SEVERITY_ERROR, FACILITY_DXTRANS, 1)
  26. /*** DXTERR_ALREADY_INITIALIZED
  27. * The object (surface) has already been properly initialized
  28. */
  29. #define DXTERR_ALREADY_INITIALIZED MAKE_HRESULT(SEVERITY_ERROR, FACILITY_DXTRANS, 2)
  30. /*** DXTERR_UNSUPPORTED_FORMAT
  31. * The caller has specified an unsupported format
  32. */
  33. #define DXTERR_UNSUPPORTED_FORMAT MAKE_HRESULT(SEVERITY_ERROR, FACILITY_DXTRANS, 3)
  34. /*** DXTERR_COPYRIGHT_IS_INVALID
  35. * The caller has specified an unsupported format
  36. */
  37. #define DXTERR_COPYRIGHT_IS_INVALID MAKE_HRESULT(SEVERITY_ERROR, FACILITY_DXTRANS, 4)
  38. /*** DXTERR_INVALID_BOUNDS
  39. * The caller has specified invalid bounds for this operation
  40. */
  41. #define DXTERR_INVALID_BOUNDS MAKE_HRESULT(SEVERITY_ERROR, FACILITY_DXTRANS, 5)
  42. /*** DXTERR_INVALID_FLAGS
  43. * The caller has specified invalid flags for this operation
  44. */
  45. #define DXTERR_INVALID_FLAGS MAKE_HRESULT(SEVERITY_ERROR, FACILITY_DXTRANS, 6)
  46. /*** DXTERR_OUTOFSTACK
  47. * There was not enough available stack space to complete the operation
  48. */
  49. #define DXTERR_OUTOFSTACK MAKE_HRESULT(SEVERITY_ERROR, FACILITY_DXTRANS, 7)
  50. /*** DXTERR_REQ_IE_DLLNOTFOUND
  51. * Unable to load a required Internet Explorer DLL
  52. */
  53. #define DXTERR_REQ_IE_DLLNOTFOUND MAKE_HRESULT(SEVERITY_ERROR, FACILITY_DXTRANS, 8)
  54. /*** DXT_S_HITOUTPUT
  55. * The specified point intersects the generated output
  56. */
  57. #define DXT_S_HITOUTPUT MAKE_HRESULT(SEVERITY_SUCCESS, FACILITY_DXTRANS, 1)
  58. #endif //--- This must be the last line in the file