8AB8=3  1 9 . 1 1 .   @8<5@,   45<>=AB@8@CNI89  A;CG09,   :>340  B@51C5BAO  B>G=>  >B;8G0BL  
 
                               P a s c a l   >B  s t d c a l l 
 
 
 
 # i n c l u d e   < s t d i o . h > 
 
 # i n c l u d e   < w i n d o w s . h > 
 
 # i n c l u d e   < w i n u s e r . h > 
 
 
 
 / /   C A L L B A C K - ?@>F54C@0  4;O  ?@85<0  A>>1I5=89  >B  B09<5@0
 
 V O I D   C A L L B A C K   T i m e r P r o c ( 
 
     H W N D   h w n d ,           / /   h a n d l e   o f   w i n d o w   f o r   t i m e r   m e s s a g e s 
 
     U I N T   u M s g ,           / /   W M _ T I M E R   m e s s a g e 
 
     U I N T   i d E v e n t ,     / /   t i m e r   i d e n t i f i e r 
 
     D W O R D   d w T i m e       / /   c u r r e n t   s y s t e m   t i m e 
 
 ) 
 
 { 
 
                 / /   2C:>2K5  A83=0;K
 
                 M e s s a g e B e e p ( ( d w T i m e   %   5 ) * 0 x 1 0 ) ; 
 
                 
 
                 / /   K2>48<  2@5<O  2  A5:C=40E,   ?@>H54H55  A  <><5=B0  ?CA:0  A8AB5<K
 
                 p r i n t f ( " \ r : = % d " , d w T i m e   /   1 0 0 0 ) ; 
 
 } 
 
 
 
 
 
 m a i n ( ) 
 
 / /   0,   MB>  :>=A>;L=>5  ?@8;>65=85,   =>  >=>  B0:  65  <>65B  8<5BL  
 
 / /   F8:;  2K1>@:8  A>>1I5=89  8  CAB0=02;820BL  B09<5@! 
 
 { 
 
               i n t   a ; 
 
               M S G   m s g ; 
 
               
 
               / /   #AB0=02;8205<  B09<5@,   ?5@54020O  5<C  04@5A  ?@>F54C@K  T i m e r P r o c 
 
               S e t T i m e r ( 0 , 0 , 1 0 0 0 , T i m e r P r o c ) ; 
 
               
 
               / /   &8:;  2K1>@:8  A>>1I5=89.   @5@20BL  53>  <>6=>
 
               / /   =060B85<  < C t r l > + < B r e a k > 
 
               w h i l e   ( G e t M e s s a g e ( & m s g ,   ( H W N D )   N U L L ,   0 ,   0 ) ) 
 
               { 
 
                               T r a n s l a t e M e s s a g e ( & m s g ) ; 
 
                               D i s p a t c h M e s s a g e ( & m s g ) ; 
 
                 } 
 
 } 
 
 