EDID Grabber in C