Windows error 0x88990015, -2003238891

Detailed Error Information

D2DERR_WRONG_RESOURCE_DOMAIN[1]

MessageThe resource was realized on the wrong render target.
Declared inwinerror.h

HRESULT analysis[2]

FlagsSeverityFailure
Reserved (R)false
OriginMicrosoft
NTSTATUSfalse
Reserved (X)true
FacilityCode2201 (0x899)
NameFACILITY_DIRECT2D[1]
Error Code21 (0x0015)

Questions

1vote
1answer

How to save a ID2D1Bitmap to a file using WIC?

I have a problem with saving a bitmap into a file. I'm using How to save ID2D1Bitmap to PNG file as a reference, but I have a different error than the one posted in that. I get error 0x88990015 HRESULT, which means: The resource used was created by a render [...] read more
c++
direct2d
wic

Comments

Leave a comment

(plain text only)

Sources

  1. winerror.h from Windows SDK 10.0.14393.0
  2. https://msdn.microsoft.com/en-us/library/cc231198.aspx

User contributions licensed under CC BY-SA 3.0