On Mon Oct 9 13:47:08 2023 +0000, Connor McAdams wrote:
Older implementations (e.g Win10v1507 and below) did advise the currently focused HWND when the event handler was added, but current implementations just advise the desktop node, which is expected to advise all HWNDs on the desktop by calling `GetEmbeddedFragmentRoots` on the default BaseHwnd provider for the desktop. I added a few more tests to hopefully clarify this.
Then the code that advises those hwnds should be responsible for adding it to the table, to avoid a race condition with the focus changing externally.