Prev: Display ON/OFF
Next: 'int3' Question
From: Tim Roberts on 23 May 2010 22:41 aparna <aparnakakkar2003(a)gmail.com> wrote: > >Let me explain ... >Right click->properties->screen saver tab->Power Button >Power Schemes for laptops... >There is one option..turn off monitor after given time. > >I want to capture that event..and want to know API call which will >give me value if display is ON/OFF. That can be done: http://msdn.microsoft.com/en-us/library/aa373195.aspx -- Tim Roberts, timr(a)probo.com Providenza & Boekelheide, Inc.
From: aparna on 24 May 2010 06:35
On May 24, 7:41 am, Tim Roberts <t...(a)probo.com> wrote: > aparna <aparnakakkar2...(a)gmail.com> wrote: > > >Let me explain ... > >Right click->properties->screen saver tab->Power Button > >Power Schemes for laptops... > >There is one option..turn off monitor after given time. > > >I want to capture that event..and want to know API call which will > >give me value if display is ON/OFF. > > That can be done: > > http://msdn.microsoft.com/en-us/library/aa373195.aspx > -- > Tim Roberts, t...(a)probo.com > Providenza & Boekelheide, Inc. Thank you for the reply but RegisterPowerSettingNotification is supported only on vista,I want for WinXp. Thanks Aparna |