I became curious and looked at the files.
Originally Posted by nrickert
So files that Microsoft installs are not EFI executables at all (with single exception of bootmgfw.efi). Extension .efi is highly misleading here. They are more "plugins" into bootmgfw.efi, and cannot be executed without it.
linux-o05u:~ # file /boot/efi/EFI/Microsoft/Boot/memtest.efi
/boot/efi/EFI/Microsoft/Boot/memtest.efi: PE32+ executable (Unknown subsystem 0x10) x86-64, for MS Windows
linux-o05u:~ # file /boot/efi/EFI/Microsoft/Boot/bootmgfw.efi
/boot/efi/EFI/Microsoft/Boot/bootmgfw.efi: PE32+ executable (DLL) (EFI application) x86-64, for MS Windows
linux-o05u:~ # file /boot/efi/EFI/opensuse/grubx64.efi
/boot/efi/EFI/opensuse/grubx64.efi: PE32+ executable (EFI application) x86-64 (stripped to external PDB), for MS Windows
I do not know if API is made available (anyone?) If yes, we could write own plugin that just launches normal EFI executable ...