Screen mode retrieval/trace tool for Windows

Dmitry Timoshkov dmitry at
Tue Mar 4 21:07:56 CST 2008

"Denver Gingerich" <denver at> wrote:

> >gcc -lgdi32 -luser32 -o x x.o -mwindows
> x.o:x.c:(.text+0x5e): undefined reference to `EnumDisplaySettingsExA'
> collect2: ld returned 1 exit status
> I'm not very familiar with building applications that use the Windows
> API with MinGW so it's very likely that I made a silly mistake.
> Suggestions on how to fix this would be appreciated.

You could try EnumDisplaySettings instead.


More information about the wine-devel mailing list