This sample enumerates the connected monitors and their display modes.
It does not create a window and you must compile it without the windowsgui flag, unlike the other samples, because it prints its output to the console which will not work when compiling with the windowsgui flag.