Home | History | Annotate | Download | only in include
      1 /**
      2  * This file has no copyright assigned and is placed in the Public Domain.
      3  * This file is part of the mingw-w64 runtime package.
      4  * No warranty is given; refer to the file DISCLAIMER.PD within this package.
      5 
      6  * d2derr.h - Header file for the Direct2D API
      7  * No original Microsoft headers were used in the creation of this
      8  * file.
      9  *API docs available at: http://msdn.microsoft.com/en-us/library/dd372349%28v=VS.85%29.aspx
     10  */
     11 
     12 #ifndef _D2DERR_H
     13 #define _D2DERR_H
     14 
     15 /* error codes */
     16 #define D2DERR_BAD_NUMBER 0x88990011
     17 #define D2DERR_DISPLAY_FORMAT_NOT_SUPPORTED 0x88990009
     18 #define D2DERR_DISPLAY_STATE_INVALID 0x88990006
     19 #define D2DERR_EXCEEDS_MAX_BITMAP_SIZE 0x8899001D
     20 #define D2DERR_INCOMPATIBLE_BRUSH_TYPES 0x88990018
     21 #define D2DERR_INSUFFICIENT_BUFFER HRESULT_FROM_WIN32(ERROR_INSUFFICIENT_BUFFER)
     22 #define D2DERR_INTERNAL_ERROR 0x88990008
     23 #define D2DERR_INVALID_CALL 0x8899000A
     24 #define D2DERR_LAYER_ALREADY_IN_USE 0x88990013
     25 #define D2DERR_MAX_TEXTURE_SIZE_EXCEEDED 0x8899000F
     26 #define D2DERR_NO_HARDWARE_DEVICE 0x8899000B
     27 #define D2DERR_NOT_INITIALIZED 0x88990002
     28 #define D2DERR_POP_CALL_DID_NOT_MATCH_PUSH 0x88990014
     29 #define D2DERR_PUSH_POP_UNBALANCED 0x88990016
     30 #define D2DERR_RECREATE_TARGET	 0x8899000C
     31 #define D2DERR_RENDER_TARGET_HAS_LAYER_OR_CLIPRECT 0x88990017
     32 #define D2DERR_SCANNER_FAILED 0x88990004
     33 #define D2DERR_SCREEN_ACCESS_DENIED 0x88990005
     34 #define D2DERR_SHADER_COMPILE_FAILED 0x8899000E
     35 #define D2DERR_TARGET_NOT_GDI_COMPATIBLE 0x8899001A
     36 #define D2DERR_TEXT_EFFECT_IS_WRONG_TYPE 0x8899001B
     37 #define D2DERR_TEXT_RENDERER_NOT_RELEASED 0x8899001C
     38 #define D2DERR_TOO_MANY_SHADER_ELEMENTS 0x8899000D
     39 #define D2DERR_UNSUPPORTED_OPERATION 0x88990003
     40 #define D2DERR_UNSUPPORTED_PIXEL_FORMAT WINCODEC_ERR_UNSUPPORTEDPIXELFORMAT
     41 #define D2DERR_UNSUPPORTED_VERSION 0x88990010
     42 #define D2DERR_WIN32_ERROR 0x88990019
     43 #define D2DERR_WRONG_FACTORY 0x88990012
     44 #define D2DERR_WRONG_RESOURCE_DOMAIN 0x88990015
     45 #define D2DERR_WRONG_STATE 0x88990001
     46 #define D2DERR_ZERO_VECTOR 0x88990007
     47 
     48 #endif /* _D2DERR_H */
     49