This is page contains raw error codes. It is meant as a software developer reference, not a customer support site.
Code | HRESULT | Description | #define |
---|---|---|---|
1 | 0x88990001 | The object was not in the correct state to process the method. | D2DERR_WRONG_STATE |
2 | 0x88990002 | The object has not yet been initialized. | D2DERR_NOT_INITIALIZED |
3 | 0x88990003 | The requested operation is not supported. | D2DERR_UNSUPPORTED_OPERATION |
4 | 0x88990004 | The geometry scanner failed to process the data. | D2DERR_SCANNER_FAILED |
5 | 0x88990005 | Direct2D could not access the screen. | D2DERR_SCREEN_ACCESS_DENIED |
6 | 0x88990006 | A valid display state could not be determined. | D2DERR_DISPLAY_STATE_INVALID |
7 | 0x88990007 | The supplied vector is zero. | D2DERR_ZERO_VECTOR |
8 | 0x88990008 | An internal error (Direct2D bug) occurred. On checked builds, we would assert. The application should close this instance of Direct2D and should consider restarting its process. | D2DERR_INTERNAL_ERROR |
9 | 0x88990009 | The display format Direct2D needs to render is not supported by the hardware device. | D2DERR_DISPLAY_FORMAT_NOT_SUPPORTED |
10 | 0x8899000A | A call to this method is invalid. | D2DERR_INVALID_CALL |
11 | 0x8899000B | No hardware rendering device is available for this operation. | D2DERR_NO_HARDWARE_DEVICE |
12 | 0x8899000C | There has been a presentation error that may be recoverable. The caller needs to recreate, rerender the entire frame, and reattempt present. | D2DERR_RECREATE_TARGET |
13 | 0x8899000D | Shader construction failed because it was too complex. | D2DERR_TOO_MANY_SHADER_ELEMENTS |
14 | 0x8899000E | Shader compilation failed. | D2DERR_SHADER_COMPILE_FAILED |
15 | 0x8899000F | Requested DirectX surface size exceeded maximum texture size. | D2DERR_MAX_TEXTURE_SIZE_EXCEEDED |
16 | 0x88990010 | The requested Direct2D version is not supported. | D2DERR_UNSUPPORTED_VERSION |
17 | 0x88990011 | Invalid number. | D2DERR_BAD_NUMBER |
18 | 0x88990012 | Objects used together must be created from the same factory instance. | D2DERR_WRONG_FACTORY |
19 | 0x88990013 | A layer resource can only be in use once at any point in time. | D2DERR_LAYER_ALREADY_IN_USE |
20 | 0x88990014 | The pop call did not match the corresponding push call. | D2DERR_POP_CALL_DID_NOT_MATCH_PUSH |
21 | 0x88990015 | The resource was realized on the wrong render target. | D2DERR_WRONG_RESOURCE_DOMAIN |
22 | 0x88990016 | The push and pop calls were unbalanced. | D2DERR_PUSH_POP_UNBALANCED |
23 | 0x88990017 | Attempt to copy from a render target while a layer or clip rect is applied. | D2DERR_RENDER_TARGET_HAS_LAYER_OR_CLIPRECT |
24 | 0x88990018 | The brush types are incompatible for the call. | D2DERR_INCOMPATIBLE_BRUSH_TYPES |
25 | 0x88990019 | An unknown win32 failure occurred. | D2DERR_WIN32_ERROR |
26 | 0x8899001A | The render target is not compatible with GDI. | D2DERR_TARGET_NOT_GDI_COMPATIBLE |
27 | 0x8899001B | A text client drawing effect object is of the wrong type. | D2DERR_TEXT_EFFECT_IS_WRONG_TYPE |
28 | 0x8899001C | The application is holding a reference to the IDWriteTextRenderer interface after the corresponding DrawText or DrawTextLayout call has returned. The IDWriteTextRenderer instance will be invalid. | D2DERR_TEXT_RENDERER_NOT_RELEASED |
29 | 0x8899001D | The requested size is larger than the guaranteed supported texture size at the Direct3D device's current feature level. | D2DERR_EXCEEDS_MAX_BITMAP_SIZE |
30 | 0x8899001E | There was a configuration error in the graph. | D2DERR_INVALID_GRAPH_CONFIGURATION |
31 | 0x8899001F | There was a internal configuration error in the graph. | D2DERR_INVALID_INTERNAL_GRAPH_CONFIGURATION |
32 | 0x88990020 | There was a cycle in the graph. | D2DERR_CYCLIC_GRAPH |
33 | 0x88990021 | Cannot draw with a bitmap that has the D2D1_BITMAP_OPTIONS_CANNOT_DRAW option. | D2DERR_BITMAP_CANNOT_DRAW |
34 | 0x88990022 | The operation cannot complete while there are outstanding references to the target bitmap. | D2DERR_OUTSTANDING_BITMAP_REFERENCES |
35 | 0x88990023 | The operation failed because the original target is not currently bound as a target. | D2DERR_ORIGINAL_TARGET_NOT_BOUND |
36 | 0x88990024 | Cannot set the image as a target because it is either an effect or is a bitmap that does not have the D2D1_BITMAP_OPTIONS_TARGET flag set. | D2DERR_INVALID_TARGET |
37 | 0x88990025 | Cannot draw with a bitmap that is currently bound as the target bitmap. | D2DERR_BITMAP_BOUND_AS_TARGET |
38 | 0x88990026 | D3D Device does not have sufficient capabilities to perform the requested action. | D2DERR_INSUFFICIENT_DEVICE_CAPABILITIES |
39 | 0x88990027 | The graph could not be rendered with the context's current tiling settings. | D2DERR_INTERMEDIATE_TOO_LARGE |
40 | 0x88990028 | The CLSID provided to Unregister did not correspond to a registered effect. | D2DERR_EFFECT_IS_NOT_REGISTERED |
41 | 0x88990029 | The specified property does not exist. | D2DERR_INVALID_PROPERTY |
42 | 0x8899002A | The specified sub-property does not exist. | D2DERR_NO_SUBPROPERTIES |
43 | 0x8899002B | AddPage or Close called after print job is already closed. | D2DERR_PRINT_JOB_CLOSED |
44 | 0x8899002C | Error during print control creation. Indicates that none of the package target types (representing printer formats) are supported by Direct2D print control. | D2DERR_PRINT_FORMAT_NOT_SUPPORTED |
45 | 0x8899002D | An effect attempted to use a transform with too many inputs. | D2DERR_TOO_MANY_TRANSFORM_INPUTS |
No comments:
Post a Comment