C language function:D2D1CreateDeviceContext sample codes

Search sample code in the internet.It is the result.