Error 0x88990012

Value: -2003238894 | 0x88990012 | 2291728402

What does it mean ?

D2DERR_WRONG_FACTORY  
Objects used together must be created from the same factory instance.
Value: 18 | 0x0012 | 0b0000000000010010

Where does it come from ?

FACILITY_DIRECT2D  
Direct 2D (hardware accelerated GUI rendering)
Value: 2201 | 0x899 | 0b100010011001

Other Errors for FACILITY_DIRECT2D