I've tested it and it works great with Windows 8 and its automatic window colorization feature. Internal static extern void DwmGetColorizationParameters(ref DWMCOLORIZATIONPARAMS params)
In my own project, I make use of a call to DwmGetColorizationParameters(): internal static class NativeMethods Although, the only undocumented features involved are for obtaining the window color scheme (or as the DWM calls it, the window colorization color), which is covered in this other question: However be warned: this encompasses quite a bit of Win32 interop (this means P/Invokes into native DLLs from managed code), and is only doable with certain undocumented APIs.