[PATCH 2/4] d2d1: Check device context state for BeginDraw() and EndDraw().