DCOMPOSITION_ERROR_ACCESS_DENIED
The documentation lists this name without a value.
Documented in Win32
DirectComposition error codes (dcomp.h)
The window handle that was specified in a call to the [**IDCompositionDevice::CreateTargetForHwnd**](/windows/win32/api/dcomp/nf-dcomp-idcompositiondevice-createtargetforhwnd) method belongs to a different process from the one that created the device object.