Go to the documentation of this file. 18 #define FACILITY_D2D 0x899 20 #define MAKE_D2DHR( sev, code )\ 21 MAKE_HRESULT( sev, FACILITY_D2D, (code) ) 23 #define MAKE_D2DHR_ERR( code )\ 40 #define D2DERR_UNSUPPORTED_PIXEL_FORMAT WINCODEC_ERR_UNSUPPORTEDPIXELFORMAT 54 #define D2DERR_INSUFFICIENT_BUFFER HRESULT_FROM_WIN32(ERROR_INSUFFICIENT_BUFFER) 60 #define D2DERR_FILE_NOT_FOUND HRESULT_FROM_WIN32(ERROR_FILE_NOT_FOUND) 63 #ifndef D2DERR_WRONG_STATE 72 #define D2DERR_WRONG_STATE MAKE_D2DHR_ERR(0x001) 77 #define D2DERR_NOT_INITIALIZED MAKE_D2DHR_ERR(0x002) 82 #define D2DERR_UNSUPPORTED_OPERATION MAKE_D2DHR_ERR(0x003) 87 #define D2DERR_SCANNER_FAILED MAKE_D2DHR_ERR(0x004) 92 #define D2DERR_SCREEN_ACCESS_DENIED MAKE_D2DHR_ERR(0x005) 97 #define D2DERR_DISPLAY_STATE_INVALID MAKE_D2DHR_ERR(0x006) 102 #define D2DERR_ZERO_VECTOR MAKE_D2DHR_ERR(0x007) 110 #define D2DERR_INTERNAL_ERROR MAKE_D2DHR_ERR(0x008) 116 #define D2DERR_DISPLAY_FORMAT_NOT_SUPPORTED MAKE_D2DHR_ERR(0x009) 121 #define D2DERR_INVALID_CALL MAKE_D2DHR_ERR(0x00A) 126 #define D2DERR_NO_HARDWARE_DEVICE MAKE_D2DHR_ERR(0x00B) 132 #define D2DERR_RECREATE_TARGET MAKE_D2DHR_ERR(0x00C) 137 #define D2DERR_TOO_MANY_SHADER_ELEMENTS MAKE_D2DHR_ERR(0x00D) 142 #define D2DERR_SHADER_COMPILE_FAILED MAKE_D2DHR_ERR(0x00E) 147 #define D2DERR_MAX_TEXTURE_SIZE_EXCEEDED MAKE_D2DHR_ERR(0x00F) 152 #define D2DERR_UNSUPPORTED_VERSION MAKE_D2DHR_ERR(0x010) 157 #define D2DERR_BAD_NUMBER MAKE_D2DHR_ERR(0x0011) 162 #define D2DERR_WRONG_FACTORY MAKE_D2DHR_ERR(0x012) 167 #define D2DERR_LAYER_ALREADY_IN_USE MAKE_D2DHR_ERR(0x013) 172 #define D2DERR_POP_CALL_DID_NOT_MATCH_PUSH MAKE_D2DHR_ERR(0x014) 177 #define D2DERR_WRONG_RESOURCE_DOMAIN MAKE_D2DHR_ERR(0x015) 182 #define D2DERR_PUSH_POP_UNBALANCED MAKE_D2DHR_ERR(0x016) 187 #define D2DERR_RENDER_TARGET_HAS_LAYER_OR_CLIPRECT MAKE_D2DHR_ERR(0x017) 192 #define D2DERR_INCOMPATIBLE_BRUSH_TYPES MAKE_D2DHR_ERR(0x018) 197 #define D2DERR_WIN32_ERROR MAKE_D2DHR_ERR(0x019) 202 #define D2DERR_TARGET_NOT_GDI_COMPATIBLE MAKE_D2DHR_ERR(0x01A) 207 #define D2DERR_TEXT_EFFECT_IS_WRONG_TYPE MAKE_D2DHR_ERR(0x01B) 214 #define D2DERR_TEXT_RENDERER_NOT_RELEASED MAKE_D2DHR_ERR(0x01C) 219 #define D2DERR_EXCEEDS_MAX_BITMAP_SIZE MAKE_D2DHR_ERR(0x01D)