RetroArch
Macros
d2derr.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define FACILITY_D2D   0x899
 
#define MAKE_D2DHR(sev, code)   MAKE_HRESULT( sev, FACILITY_D2D, (code) )
 
#define MAKE_D2DHR_ERR(code)   MAKE_D2DHR( 1, code )
 
#define D2DERR_UNSUPPORTED_PIXEL_FORMAT   WINCODEC_ERR_UNSUPPORTEDPIXELFORMAT
 
#define D2DERR_INSUFFICIENT_BUFFER   HRESULT_FROM_WIN32(ERROR_INSUFFICIENT_BUFFER)
 
#define D2DERR_FILE_NOT_FOUND   HRESULT_FROM_WIN32(ERROR_FILE_NOT_FOUND)
 
#define D2DERR_WRONG_STATE   MAKE_D2DHR_ERR(0x001)
 
#define D2DERR_NOT_INITIALIZED   MAKE_D2DHR_ERR(0x002)
 
#define D2DERR_UNSUPPORTED_OPERATION   MAKE_D2DHR_ERR(0x003)
 
#define D2DERR_SCANNER_FAILED   MAKE_D2DHR_ERR(0x004)
 
#define D2DERR_SCREEN_ACCESS_DENIED   MAKE_D2DHR_ERR(0x005)
 
#define D2DERR_DISPLAY_STATE_INVALID   MAKE_D2DHR_ERR(0x006)
 
#define D2DERR_ZERO_VECTOR   MAKE_D2DHR_ERR(0x007)
 
#define D2DERR_INTERNAL_ERROR   MAKE_D2DHR_ERR(0x008)
 
#define D2DERR_DISPLAY_FORMAT_NOT_SUPPORTED   MAKE_D2DHR_ERR(0x009)
 
#define D2DERR_INVALID_CALL   MAKE_D2DHR_ERR(0x00A)
 
#define D2DERR_NO_HARDWARE_DEVICE   MAKE_D2DHR_ERR(0x00B)
 
#define D2DERR_RECREATE_TARGET   MAKE_D2DHR_ERR(0x00C)
 
#define D2DERR_TOO_MANY_SHADER_ELEMENTS   MAKE_D2DHR_ERR(0x00D)
 
#define D2DERR_SHADER_COMPILE_FAILED   MAKE_D2DHR_ERR(0x00E)
 
#define D2DERR_MAX_TEXTURE_SIZE_EXCEEDED   MAKE_D2DHR_ERR(0x00F)
 
#define D2DERR_UNSUPPORTED_VERSION   MAKE_D2DHR_ERR(0x010)
 
#define D2DERR_BAD_NUMBER   MAKE_D2DHR_ERR(0x0011)
 
#define D2DERR_WRONG_FACTORY   MAKE_D2DHR_ERR(0x012)
 
#define D2DERR_LAYER_ALREADY_IN_USE   MAKE_D2DHR_ERR(0x013)
 
#define D2DERR_POP_CALL_DID_NOT_MATCH_PUSH   MAKE_D2DHR_ERR(0x014)
 
#define D2DERR_WRONG_RESOURCE_DOMAIN   MAKE_D2DHR_ERR(0x015)
 
#define D2DERR_PUSH_POP_UNBALANCED   MAKE_D2DHR_ERR(0x016)
 
#define D2DERR_RENDER_TARGET_HAS_LAYER_OR_CLIPRECT   MAKE_D2DHR_ERR(0x017)
 
#define D2DERR_INCOMPATIBLE_BRUSH_TYPES   MAKE_D2DHR_ERR(0x018)
 
#define D2DERR_WIN32_ERROR   MAKE_D2DHR_ERR(0x019)
 
#define D2DERR_TARGET_NOT_GDI_COMPATIBLE   MAKE_D2DHR_ERR(0x01A)
 
#define D2DERR_TEXT_EFFECT_IS_WRONG_TYPE   MAKE_D2DHR_ERR(0x01B)
 
#define D2DERR_TEXT_RENDERER_NOT_RELEASED   MAKE_D2DHR_ERR(0x01C)
 
#define D2DERR_EXCEEDS_MAX_BITMAP_SIZE   MAKE_D2DHR_ERR(0x01D)
 

Macro Definition Documentation

◆ D2DERR_BAD_NUMBER

#define D2DERR_BAD_NUMBER   MAKE_D2DHR_ERR(0x0011)

◆ D2DERR_DISPLAY_FORMAT_NOT_SUPPORTED

#define D2DERR_DISPLAY_FORMAT_NOT_SUPPORTED   MAKE_D2DHR_ERR(0x009)

◆ D2DERR_DISPLAY_STATE_INVALID

#define D2DERR_DISPLAY_STATE_INVALID   MAKE_D2DHR_ERR(0x006)

◆ D2DERR_EXCEEDS_MAX_BITMAP_SIZE

#define D2DERR_EXCEEDS_MAX_BITMAP_SIZE   MAKE_D2DHR_ERR(0x01D)

◆ D2DERR_FILE_NOT_FOUND

#define D2DERR_FILE_NOT_FOUND   HRESULT_FROM_WIN32(ERROR_FILE_NOT_FOUND)

◆ D2DERR_INCOMPATIBLE_BRUSH_TYPES

#define D2DERR_INCOMPATIBLE_BRUSH_TYPES   MAKE_D2DHR_ERR(0x018)

◆ D2DERR_INSUFFICIENT_BUFFER

#define D2DERR_INSUFFICIENT_BUFFER   HRESULT_FROM_WIN32(ERROR_INSUFFICIENT_BUFFER)

◆ D2DERR_INTERNAL_ERROR

#define D2DERR_INTERNAL_ERROR   MAKE_D2DHR_ERR(0x008)

◆ D2DERR_INVALID_CALL

#define D2DERR_INVALID_CALL   MAKE_D2DHR_ERR(0x00A)

◆ D2DERR_LAYER_ALREADY_IN_USE

#define D2DERR_LAYER_ALREADY_IN_USE   MAKE_D2DHR_ERR(0x013)

◆ D2DERR_MAX_TEXTURE_SIZE_EXCEEDED

#define D2DERR_MAX_TEXTURE_SIZE_EXCEEDED   MAKE_D2DHR_ERR(0x00F)

◆ D2DERR_NO_HARDWARE_DEVICE

#define D2DERR_NO_HARDWARE_DEVICE   MAKE_D2DHR_ERR(0x00B)

◆ D2DERR_NOT_INITIALIZED

#define D2DERR_NOT_INITIALIZED   MAKE_D2DHR_ERR(0x002)

◆ D2DERR_POP_CALL_DID_NOT_MATCH_PUSH

#define D2DERR_POP_CALL_DID_NOT_MATCH_PUSH   MAKE_D2DHR_ERR(0x014)

◆ D2DERR_PUSH_POP_UNBALANCED

#define D2DERR_PUSH_POP_UNBALANCED   MAKE_D2DHR_ERR(0x016)

◆ D2DERR_RECREATE_TARGET

#define D2DERR_RECREATE_TARGET   MAKE_D2DHR_ERR(0x00C)

◆ D2DERR_RENDER_TARGET_HAS_LAYER_OR_CLIPRECT

#define D2DERR_RENDER_TARGET_HAS_LAYER_OR_CLIPRECT   MAKE_D2DHR_ERR(0x017)

◆ D2DERR_SCANNER_FAILED

#define D2DERR_SCANNER_FAILED   MAKE_D2DHR_ERR(0x004)

◆ D2DERR_SCREEN_ACCESS_DENIED

#define D2DERR_SCREEN_ACCESS_DENIED   MAKE_D2DHR_ERR(0x005)

◆ D2DERR_SHADER_COMPILE_FAILED

#define D2DERR_SHADER_COMPILE_FAILED   MAKE_D2DHR_ERR(0x00E)

◆ D2DERR_TARGET_NOT_GDI_COMPATIBLE

#define D2DERR_TARGET_NOT_GDI_COMPATIBLE   MAKE_D2DHR_ERR(0x01A)

◆ D2DERR_TEXT_EFFECT_IS_WRONG_TYPE

#define D2DERR_TEXT_EFFECT_IS_WRONG_TYPE   MAKE_D2DHR_ERR(0x01B)

◆ D2DERR_TEXT_RENDERER_NOT_RELEASED

#define D2DERR_TEXT_RENDERER_NOT_RELEASED   MAKE_D2DHR_ERR(0x01C)

◆ D2DERR_TOO_MANY_SHADER_ELEMENTS

#define D2DERR_TOO_MANY_SHADER_ELEMENTS   MAKE_D2DHR_ERR(0x00D)

◆ D2DERR_UNSUPPORTED_OPERATION

#define D2DERR_UNSUPPORTED_OPERATION   MAKE_D2DHR_ERR(0x003)

◆ D2DERR_UNSUPPORTED_PIXEL_FORMAT

#define D2DERR_UNSUPPORTED_PIXEL_FORMAT   WINCODEC_ERR_UNSUPPORTEDPIXELFORMAT

◆ D2DERR_UNSUPPORTED_VERSION

#define D2DERR_UNSUPPORTED_VERSION   MAKE_D2DHR_ERR(0x010)

◆ D2DERR_WIN32_ERROR

#define D2DERR_WIN32_ERROR   MAKE_D2DHR_ERR(0x019)

◆ D2DERR_WRONG_FACTORY

#define D2DERR_WRONG_FACTORY   MAKE_D2DHR_ERR(0x012)

◆ D2DERR_WRONG_RESOURCE_DOMAIN

#define D2DERR_WRONG_RESOURCE_DOMAIN   MAKE_D2DHR_ERR(0x015)

◆ D2DERR_WRONG_STATE

#define D2DERR_WRONG_STATE   MAKE_D2DHR_ERR(0x001)

◆ D2DERR_ZERO_VECTOR

#define D2DERR_ZERO_VECTOR   MAKE_D2DHR_ERR(0x007)

◆ FACILITY_D2D

#define FACILITY_D2D   0x899

◆ MAKE_D2DHR

#define MAKE_D2DHR (   sev,
  code 
)    MAKE_HRESULT( sev, FACILITY_D2D, (code) )

◆ MAKE_D2DHR_ERR

#define MAKE_D2DHR_ERR (   code)    MAKE_D2DHR( 1, code )