VDM Termination

A VDM is terminated when the DOS application running within it terminates, or when a virtual device driver terminates the VDM due to some illegal operation. Termination is carried out in the following way:

  • All registered VDM termination hooks are called

  • The 8086 emulation releases all its per-VDM resources

  • The VDMM releases all its per-VDM resources

  • The VDM is destroyed in a way similar to an OS/2 process.

    The criteria for abnormal termination of a VDM by a virtual device driver are discussed in VDM Termination.


    [Back: VDM Creation]
    [Next: 8086 Emulation]