You cannot enable DWM composition; you can only request to disable it. When you need it to be turned off, you call
DwmEnableComposition(DWM_EC_ENABLECOMPOSITION);
From MSDN:
A DWM composition will be automatically activated when all processes that have a composition disabled have called DwmEnableComposition to enable it or have stopped it.
, , . (, Microsoft , , , .)
, . MSDN:
, Windows 8 Consumer Preview. DWM .