Re: Multiple display modes in WinCE by SriV
SriV
Wed Nov 29 01:11:04 CST 2006
Hi Rob,
I guess it is not possible to use Deactivatedevice for display driver
as it will be loaded by GWES.
By the way, I shouldn't restart the device while swicthing the drivers.
Please clarify me.
Thanks
SriV
Rob wrote:
> Hi,
> Assuming the settings are read from registry (CxScreen/CyScreen)
> and the driver refuses to change resolution dynamically:
> you might try to unload the driver using Deactivatedevice, set the registry,
> and restart the driver using ActivateDeviceEx.
>
> Haven't tried it myself but it might work....
>
> Greetings,
> Rob.
>
>
> "sriv.godavari@gmail.com" wrote:
>
> > Hi,
> >
> > I have added support for two display modes in display driver (VGAFlat)
> > for emulator in WinCE5.0. My intention was to change the display mode
> > from smaller resolution to higer resolution dynamically (with out
> > restart).
> >
> > I have tried with ChangeDisplaySettingsEx but it returned 0 (fail).
> >
> > Can any one throw some light on this? Is there any way I can change the
> > Display mode in the Emulator dynamically.
> >
> > Thanks in advance.
> > SriV
> >
> >