gharris999;437484 Wrote: > > I'll need to do some research in terms of what sort of system messages > it ought to monitor. But at first glance, the two easiest system > messages to intercept and interpret will be WM_QUERYENDSESSION (system > shutting down) and WM_POWERBROADCAST, wParam == PBT_APMSUSPEND (system > sleeping or hibernating). >
You've probably found the following but just in case the following articles seem like a good summary. Interesting to know that some functions are not really distinguished by the OS especially hybrid sleep in Vista: Summary discussion http://www.ureader.com/msg/14743607.aspx Code examples: http://www.codeproject.com/KB/system/OSEvents.aspx -- Paul_B Paul ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Slimcentre 7.2 on Quad Intel MSI MoBo running Vista Ultimate 64bit controlled via a Mini-ITX server running Windows 2003 R2 (SP2) and Idratek Cortex home-automation software. Remote storage QNAP TS-109 Pro(2.1.0T)~(500GB Hitachi HDD) SB3 (x1), 1 x SBB (Squeezebox Boom) on order RIP - dBpowerAMP R13 to FLAC ID3 Tags - MP3Tag v2.41 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ------------------------------------------------------------------------ Paul_B's Profile: http://forums.slimdevices.com/member.php?userid=3039 View this thread: http://forums.slimdevices.com/showthread.php?t=48521 _______________________________________________ plugins mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/plugins
