FACILITY_DIRECT2D : The object was not in the correct state to process the method.
 : The object has not yet been initialized.
 : The requested operation is not supported.
 : The geometry scanner failed to process the data.
 : Direct2D could not access the screen.
 : A valid display state could not be determined.
 : The supplied vector is zero.
 : 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.
 : The display format Direct2D needs to render is not supported by the hardware device.
 : A call to this method is invalid.
 : No hardware rendering device is available for this operation.
 : There has been a presentation error that may be recoverable. The caller needs to recreate, rerender the entire frame, and reattempt present.
 : Shader construction failed because it was too complex.
 : Shader compilation failed.
 : Requested DirectX surface size exceeded maximum texture size.
 : The requested Direct2D version is not supported.
 : Invalid number.
 : Objects used together must be created from the same factory instance.
 : A layer resource can only be in use once at any point in time.
 : The pop call did not match the corresponding push call.
 : The resource was realized on the wrong render target.
 : The push and pop calls were unbalanced.
 : Attempt to copy from a render target while a layer or clip rect is applied.
 : The brush types are incompatible for the call.
 : An unknown win32 failure occurred.
 : The render target is not compatible with GDI.
 : A text client drawing effect object is of the wrong type.
 : 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.
 : The requested size is larger than the guaranteed supported texture size at the Direct3D device's current feature level.
 : There was a configuration error in the graph.
 : There was a internal configuration error in the graph.
 : There was a cycle in the graph.
 : Cannot draw with a bitmap that has the D2D1_BITMAP_OPTIONS_CANNOT_DRAW option.
 : The operation cannot complete while there are outstanding references to the target bitmap.
 : The operation failed because the original target is not currently bound as a target.
 : 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.
 : Cannot draw with a bitmap that is currently bound as the target bitmap.
 : D3D Device does not have sufficient capabilities to perform the requested action.
 : The graph could not be rendered with the context's current tiling settings.
 : The CLSID provided to Unregister did not correspond to a registered effect.
 : The specified property does not exist.
 : The specified sub-property does not exist.
 : AddPage or Close called after print job is already closed.
 : Error during print control creation. Indicates that none of the package target types (representing printer formats) are supported by Direct2D print control.
 : An effect attempted to use a transform with too many inputs.
 : An error was encountered while decoding or parsing the requested glyph image.
 Sources winerror.h from Windows SDK 10.0.14393.0