[v2 PATCH 4/6] d2d1: Partially implement ID2D1Device