Windows error 0x8899000B, -2003238901

Detailed Error Information

D2DERR_NO_HARDWARE_DEVICE[1]

MessageNo hardware rendering device is available for this operation.
Declared inwinerror.h

HRESULT analysis[2]

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

Questions

0votes
1answer

Creation of a ID2D1DCRenderTarget

I'm trying to create a GDI device context from Direct2D but when I call CreateDCRenderTarget, it returns D2DERR_NO_HARDWARE_DEVICE error and my RenderTarget is null. Is there something wrong with the properties ? ID2D1Factory* _pDirect2dFactory = NULL; ID2D1DCRenderTarget *_pRenderTarget = NULL; D2D1_RENDER_TARGET_PROPERTIES props = D2D1::RenderTargetProperties( D2D1_RENDER_TARGET_TYPE_DEFAULT, D2D1::PixelFormat( DXGI_FORMAT_B8G8R8A8_UNORM, D2D1_ALPHA_MODE_IGNORE), 0, 0, [...] read more
c++
windows
hook
direct2d
dll-injection

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