NetUserGetAppSel or Net32UserGetAppSel

The NetUserGetAppSel API retrieves information about all specified types of applications contained in the user's desktop application folders.