IsThreadDesktopComposited

Go to Home Page

Returns whether the current threads' desktop has DWM composition enabled

Syntax

BOOL WINAPI IsThreadDesktopComposited ( )

Return Value

Nonzero if composition is enabled, zero otherwise

Remarks

The investigation is made by examining TEB->Win32ClientInfo->pDesktopInfo->fComposited. If the thread is not a GUI thread, this function converts the thread to one, before doing the query.