Slide 1CS 1253 Visual Programming Unit I Topic 4 Slide 2 Presentation Outline The Device Context Getting a Device context Handle Getting Device Context Information The Device…