A language based on Extensible Markup Language (XML) that enables developers to specify a hierarchy of objects with a set of properties and logic.
If you're talking about camera capture, a way is with DirectShow
I had uploaded a sample in WinUI (about the same code in WPF as it is C# + P/Invoke) : WinUI3_DirectShow_Capture