Microsoft used to sell Windows as a runtime. Like, you would ship Windows on floppy disks as part of your software product for end-users.
16 bit Windows was consciously designed, intentionally made modular, to accomplish things like this. Albeit the author was surely not the intended customer!