Windows 7 has an ability to boot from alternative sources besides plain disk partitions - for example it can boot natively from VHD or WIM.
Is the handling of above mentioned formats hardcoded into the bootloader, or perhaps there is a way to "plug-in" a support for additional formats by providing a virtual disk driver? If yes, any details on how can it be done? Thank you.
PS - for those requesting to close the post - read it carefully till the end. I'm not asking for a steps of how to accomplish it using existing software, but rather how to code a piece of software that allows to boot from an OS image in a proprietary format.