<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2995" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hola Mario,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>creo que esto es lo que buscas:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV>
<H1><A name=base.pbt_apmsuspend></A>PBT_APMSUSPEND</H1>
<P>
<P>The PBT_APMSUSPEND event is broadcast immediately before the computer enters 
a suspended state. This event is typically broadcast when all applications and 
installable drivers have returned TRUE to a previous <A 
href="ms-help://MS.PSDKSVR2003SP1.1033/power/base/pbt_apmquerysuspend.htm">PBT_APMQUERYSUSPEND</A> 
event.</P>
<P><FONT face=Arial size=2>De todos modos navega un poco por la msdn online (<A 
href="http://msdn2.microsoft.com/en-us/library/aa373170.aspx">http://msdn2.microsoft.com/en-us/library/aa373170.aspx</A>) o 
la ayuda del SDK si la tienes instalada por el apartado dedicado 
a <FONT face="Times New Roman" size=3>Power Management 
Reference.</FONT></FONT></P>
<P><FONT face=Arial size=2>Un saludo,</FONT></P>
<P><FONT face=Arial size=2>Juan Antonio.</FONT></P></DIV>
<BLOCKQUOTE 
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV 
  style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> 
  <A title=kenpuudenkiberserk@gmail.com 
  href="mailto:kenpuudenkiberserk@gmail.com">Mario Contreras</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>To:</B> <A 
  title=cconclase@listas.conclase.net 
  href="mailto:cconclase@listas.conclase.net">cconclase@listas.conclase.net</A> 
  </DIV>
  <DIV style="FONT: 10pt arial"><B>Sent:</B> Wednesday, December 13, 2006 9:17 
  PM</DIV>
  <DIV style="FONT: 10pt arial"><B>Subject:</B> [C con Clase] Inactividad del 
  sistema</DIV>
  <DIV><BR></DIV>Buenas, lista. Gracias por la ayuda que nos dais a todos los 
  que estamos "intentando" aprender. La duda que tengo en mi programa es que 
  quiero hacerlo funcionar cuando windows este inactivo, como si fuera un 
  protector de pantalla. He mirado en una web que es con el mensaje 
  WM_SYSCOMMAND, pero no sé...no lo entiendo muy bien. Supongo que me podréis 
  ayudar. Gracias de antemano. <BR>
  <P>
  <HR>

  <P></P>_______________________________________________<BR>Cconclase mailing 
  list<BR>Cconclase@listas.conclase.net<BR>http://listas.conclase.net/mailman/listinfo/cconclase_listas.conclase.net<BR></BLOCKQUOTE></BODY></HTML>