Wow, that's clear enough! Well, the only consequence I see, is to cancel the work on the PowerBroadcast thread (which I did not like really...) and return to the basic solution. This works well for Win7 and Win8 unless there is a (significant) delay configured for resume. So I would suggest to get rid of the delay resume option. Why do we need it? If I am right, only to work around a problem with some audio devices (notably HDMI audio) that take longer time to restore after a resume. If this is the only reason for the delay resume option, we should try to fix the cause and no longer try to provide workarounds for the workaround...Yep by looking log :
The message is clearCode:[2014-04-13 21:57:53,756] [Error ] [PowerBroadcast Thread] [ERROR] - VMR9: Dispose() from wrong thread
Michael