On Sat Mar 9 10:04:47 2024 +0000, Nikolay Sivov wrote:
Another possibility is that this initialization is a side effect of dsound creating a window internally. We have this thing implemented in imm32, and as I recall it was possible to test by disabling IMM with some user32 function.
Unfortunately, your assumption doesn't seem to be correct.
I have manually tested using SetWindowsHookEx(WH_CBT and HCBT_CREATEWND) and confirmed that dsound initialization does not create any windows other than the OleMainThreadWndClass window.