Bootloader For Windows 10 !new! -

// Load and start bootmgfw.efi Status = gBS->LoadImage(FALSE, ImageHandle, FullPath, NULL, 0, &BootMgrHandle); if (EFI_ERROR(Status)) return Status;

// Open our own loaded image protocol to get device handle Status = gBS->HandleProtocol(ImageHandle, &gEfiLoadedImageProtocolGuid, (VOID**)&LoadedImage); if (EFI_ERROR(Status)) return Status; bootloader for windows 10

// Open Windows Boot Manager file Status = Root->Open(Root, &File, L"\\EFI\\Microsoft\\Boot\\bootmgfw.efi", EFI_FILE_MODE_READ, 0); if (EFI_ERROR(Status)) Print(L"Error: bootmgfw.efi not found\n"); return Status; // Load and start bootmgfw

msg db 'Not a Windows 10 bootloader', 0 times 510 - ($-$$) db 0 dw 0xaa55 if (EFI_ERROR(Status)) return Status