finding all apps that can open a given file ?

I HAVE to be overthinking this
IS there no straight forward API on windows to find out which apps can handle a given file type ?
So far everything I’ve found results in “well look in the registry and …”
That seems way wrong

Sorted on discord, putting it here for search

AssocQueryStringW

Yeah tanks !