RE: Screen mode retrieval/trace tool for Windows

2008-03-05 Thread Matteo Italia
ECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Denver Gingerich Sent: Tuesday, March 04, 2008 11:09 PM To: wine-devel@winehq.org Subject: Screen mode retrieval/trace tool for Windows I am trying to trace the sequence of screen mode (resolution/bpp/refresh rate) changes that occur when StarCraft is r

Re: Screen mode retrieval/trace tool for Windows

2008-03-04 Thread Denver Gingerich
On Tue, Mar 4, 2008 at 7:07 PM, Dmitry Timoshkov <[EMAIL PROTECTED]> wrote: > "Denver Gingerich" <[EMAIL PROTECTED]> 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 > > > >

Re: Screen mode retrieval/trace tool for Windows

2008-03-04 Thread Dmitry Timoshkov
"Denver Gingerich" <[EMAIL PROTECTED]> 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 i

Re: Screen mode retrieval/trace tool for Windows

2008-03-04 Thread Denver Gingerich
On Tue, Mar 4, 2008 at 5:33 PM, Stefan Dösinger <[EMAIL PROTECTED]> wrote: > Am Mittwoch, 5. März 2008 01:38:59 schrieb mark cox: > > > Perhaps use detours to hook the ChangeDisplaySettingsEx function and dump > > the devmode structure to a file? > That's rather complex, a simple C app calling >

Re: Screen mode retrieval/trace tool for Windows

2008-03-04 Thread Stefan Dösinger
Am Mittwoch, 5. März 2008 01:38:59 schrieb mark cox: > Perhaps use detours to hook the ChangeDisplaySettingsEx function and dump > the devmode structure to a file? That's rather complex, a simple C app calling EnumDisplaySettingsEx(ENUM_CURRENT_MODE) called from command line should do that as wel

Re: Screen mode retrieval/trace tool for Windows

2008-03-04 Thread mark cox
Perhaps use detours to hook the ChangeDisplaySettingsEx function and dump the devmode structure to a file? Regards, mark On Wed, Mar 5, 2008 at 9:09 AM, Denver Gingerich <[EMAIL PROTECTED]> wrote: > I am trying to trace the sequence of screen mode > (resolution/bpp/refresh rate) changes that occ

Screen mode retrieval/trace tool for Windows

2008-03-04 Thread Denver Gingerich
I am trying to trace the sequence of screen mode (resolution/bpp/refresh rate) changes that occur when StarCraft is run in Windows so that I can make Wine emulate Windows' behavior. Right now I'm trying to see exactly what resolution, bits per pixel, and refresh rate StarCraft is using. Unfortuna