Yes I'm wondering about this too. Say I want to build a windows application with electron, and I want to use geolocation or bluetooth, does the app need a module for each version of windows if I want to support multiple versions of windows? Or would it perhaps even be possible to generate the modules for the appropriate windows version on the fly from the app itself?
The Windows runtime is backwards compatible, so there are no breaking changes in WinMD files. You should be able to just generate a module for the latest available version of Windows.WinMD.
Attempting to call functions which don't exist on the OS you are using should just result in E_NOINTERFACE being surfaced by this projection.