2.1.3 Deleting a Device Context

The DeleteDC function deletes a device context and ensures that shared resources are not removed until the last context is deleted. The device driver is a shared resource.