Sunny, thank you for details. Really I don't need to replace the BIOS boot manager with my application, but this seems to me a useful experience... Thank you, Sergey