How do I find out what a program uses to identify a screen mode