Site icon EfmSoft

What does HRESULT 0x88990002 (D2DERR_NOT_INITIALIZED) mean?

 
Previous Next
D2DERR_WRONG_STATE D2DERR_UNSUPPORTED_OPERATION

D2DERR_NOT_INITIALIZED

D2DERR_NOT_INITIALIZED means that code called a Direct2D method before the target object completed the initialization required by that API. This can happen after partial construction, a failed setup path, or an attempt to use a resource before it is associated with a render target or device context.

What to check

Keep initialization and first use in the same well-defined ownership path so that an error cannot leave a partially configured object visible to rendering code.

Microsoft: Direct2D error codes


Looking for a different code? Search another status or error code.

Exit mobile version