المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : Differentiating SHUTDOWN and RESTART ?



C++ Programming
09-18-2009, 08:32 PM
I want to distinguish between a Shutdown event and a Restart event , what should be done in achieving the same ? As , WM_QUERYENDSESSION doesnot give me any differentiation between Shutdown and Restart. Is there a way to know specifically which one of the two has been initiated ??


Regards,
Kushagra

I hate coding but I luv to develop.http://www.barakasoft.com/script/Forums/Images/smiley_redface.gif