Walkthrough: WinUI 3 app with Win32 interop - Windows apps
Step-by-step walkthrough of calling Win32 APIs from a WinUI 3 desktop app using CsWin32 to customize a title bar and set window size.