How do ya make UWP extensions


I need a UWP windows desktop app extension that allows you to record music playing on the PC in real time.

Simple start / stop recording functions.

On Android you use Java, on iOS you use Objective C

And I have managed to make those.

But what language do you use to make extensions for UWP?

Are there any tutorials?