I was having an issue where my Windows 10 computer would not play HEVC h.265 video.
When you try to play the video, Windows Movies & TV app opens, but says it can not play it and that you need to purchase a $0.99 plugin from the Microsoft Store.
But there is actually a FREE version of codec that you can install/launch from the Microsoft Store as well (but of course they do not tell you about it).
HEVC Video Extensions from Device Manufacturer
Click the link above (its directly on Microsoft.com), choose GET, open the MICROSOFT STORE, choose INSTALL and then choose LAUNCH.
You do NOT need to sign up and do NOT need to create microsoft account to install this codec. Just skip/ignore any of those requests.
After this, try playing your HEVC h.265 videos with Windows Movies & TV app, and they should play!