C language function:DwmIsCompositionEnabled sample codes

Search sample code in the internet.It is the result.


TITLE : Vista Goodies in C++: Using Glass in Your UI - Woosa - CSDN博客
Since our drawing code will be different depending on whether composition is enabled, we'll need to check the composition state during the drawing process. The API that checks the state is DwmIsCompositionEnabled(). Since that API can fail, and the enabled state isn't indicated in the return value, CMainFrame has a wrapper called IsCompositionEnabled() that is easier to use:.......
http://blog.csdn.net/liu__ke/article/details/8909899


TITLE : Vista Goodies in C++: Using Glass in Your UI - Woosa - CSDN博客
hr = DwmIsCompositionEnabled(&bEnabled);.......
http://blog.csdn.net/liu__ke/article/details/8909899
search Google

https://www.google.com/#q=DwmIsCompositionEnabled