I am using the itch version, for which gamemaker version I've tried an old LTS build, the newest lts build, newest beta build, latest 2022 build, 2024.8.1.171 and some other builds of gamemaker. For runtimes I've just used the defaults for those, as well as 2024.8.1.218. For output I'm not quite sure what you mean, It just returns undefined no matter what.
Viewing post in winwin_create returns undefined
So um quick update, when I woke up today I tried running the code again it just magically worked kinda? Tried it across different versions and it seems mostly fine. on IDE 2024.8.1.171 with runtime 2024.8.218 I get the error "Win32 function failed: HRESULT: 0x887a0001 Call: at line 386 in file \Graphics_DisplayM.cpp". Hope this helps.