Can’t capture a video

How to set DPI awareness = 1?