Check this Vista Aero ToolStrip on Non-Client Area - CodeProject
The source code contains a c# import/ interop class for the whole dwm library
When taking a look at the EVR code, take a look at this thread first: [other] Problems with dropping frames with EVR - MediaPortal Forum.I just tested a clean build of MP, and I found the following:
RefreshRateChanger enabled
Play 24 -> choppy, hit win-tab -> smooth, play 25p -> choppy, seek -> choppy, hit win-tab still choppy, seek -> smooth
I think something isn't right somewhere else.
I'm going to dig around in the EVR code when I get some time. I believe that's where the roof of this may be stemming from.