No need to mess with Win32, Godot supports it: https://docs.godotengine.org/en/stable/classes/class_window....
There’s a resurgence of transparent apps and games just because of that.