shutdown event

Hi all,

Is there an event that's fired when a user is logging out or shutting down Windows?, I'd like to capture the event in the log of my application

Thanks a lot

closed account (z05DSL3A)
WM_ENDSESSION Message might be what you ar elooking for:

http://msdn.microsoft.com/en-us/library/aa376889(VS.85).aspx
Topic archived. No new replies allowed.