DirectComposition is the main api that you can use to draw a window without a redirect bitmap. DXGI_SWAP_EFFECT_FLIP_SEQUENTIAL on swapchains without DirectComposition can also trigger this mode.
One thing to worry about when using the api is that there will not necessarily be an opaque background for the window, so dwm can do a lot of extra work mixing it with things outside the window that are not actually visible
John bauman
source share