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
1.1 KiB

  1. /*******************************************************************************
  2. *
  3. * Copyright (c) 1998 Microsoft Corporation
  4. *
  5. *
  6. * Contains all the DirectAnimation error codes
  7. *
  8. *******************************************************************************/
  9. #ifndef _DAERROR_H
  10. #define _DAERROR_H
  11. #include <winerror.h>
  12. #define FACILITY_DIRECTANIMATION FACILITY_ITF
  13. #define DAERR_CODE_BEGIN 0x1000
  14. #define DA_MAKE_HRESULT(i) MAKE_HRESULT(SEVERITY_ERROR, \
  15. FACILITY_DIRECTANIMATION, \
  16. (DAERR_CODE_BEGIN + i))
  17. // BEGIN - View specific error codes.
  18. #define DAERR_VIEW_LOCKED DA_MAKE_HRESULT(10)
  19. #define DAERR_VIEW_TARGET_NOT_SET DA_MAKE_HRESULT(11)
  20. #define DAERR_VIEW_SURFACE_BUSY DA_MAKE_HRESULT(12)
  21. // End - View specific error codes.
  22. // BEGIN - DXTransform specific error codes.
  23. #define DAERR_DXTRANSFORM_UNSUPPORTED_OPERATION DA_MAKE_HRESULT(20)
  24. // End - DXTransform specific error codes.
  25. #endif /* _DAERROR_H */