M
Sun Jan 16 01:06:26 CST 2005
Hi
there is a WM_POWERBROADCAST message
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/power/base/wm_powerbroadcast.asp
but that does not seem to provide me the info i need. Note that i want
to be notified of "turn off monitor" activation which is different from
system standby stuff. please let me know if you know of any other
method
I am working on a proprietary video driver of our company
thanks
Taha
Calvin Guan wrote:
> If my memory was not totally screwed up, there is some sort of system
power
> broadcast your UM app can listen to. I can check on Monday.
>
> I'm just curious, what video driver you are working on? Of course you
don't
> have to answer if you don't like.
>
> --
> Calvin Guan Software Engineer/Radeon NT Drivers
> ATI Technologies Inc. Markham ON, Canada www.ati.com
> No matter how many fish in the sea it'd be so empty without me -
> Eminem
>
>
> "M Taha Masood" <m.tahamasood@gmail.com> wrote in message
> news:1105736694.916501.142210@f14g2000cwb.googlegroups.com...
> > hi
> >
> >
> > i want to know in my application whenever the monitor goes to power
off
> > or power on state
> >
> > because of the expiration of inactivity in the monitor due to the
> > following setting:
> >
> > Display Properties -> Screen Saver -> Power -> Power Schemes Tab ->
> > Turn Off Monitor
> >
> > Currently i am doing it the hard way , i.e. adding escape codes in
my
> > display driver that
> >
> > in turn talk to the video miniport driver through IoControl . first
my
> > user mode app
> >
> > creates an event and sends event to the miniport this way. whenever
> > miniport driver gets
> >
> > power change status from vidoeport.sys it sets the user mode event
at
> > whicch the app would
> >
> > query its value thru another escape code in a similar way.
> >
> > Given the complicated method of getting a simple piece of
information ,
> > i am forced to
> >
> > think there might be an easier way of doing the same , some API or
any
> > other simpler method
> > is there any?
> >
> > thanks in advance
> > Taha
> >