windows: Make window creation failable (#14395)

Release Notes:

- N/A
ba09eabfba张小白 committed on 7/15/2024, 2:37:46 AM· committed by GitHubparent70d983a
2 files changedLine totals unavailable