VDD_Get_Special_VM_IDs

Call With

Nothing.

Return Values

EDI contains the VM handle of the Blue Screen Message Mode pseudo-VM. ESI contains the VM handle of the Forced Planar Mode pseudo-VM.

Remarks

This function can only be called up to and including the Init_Complete phase of VxD initialization. It will cause a fatal page fault if called after Init_Complete.

The VDD has two special "pseudo-VM's" which are used by the VDD to set special states. The first is used to contain the states for the blue-screen message mode VM which is displayed when Windows encounters a serious problem. This blue-screen message mode is displayed in VGA mode 3 in non-Far East versions of Windows 95 and in Mode 12h in Far East DBCS versions of Windows 95. The second is a VM containing the 4 plane MemC state (such as that in Mode 12h). These "pseudo VM" handles are sometimes passed to the mini-VDD during RESTORE_REGISTERS calls. The mini-VDD should retrieve these special VM handles at MiniVDD_Dynamic_Init time and then compare against them during the RESTORE_REGISTERS calls. The VIDEO7.VXD sample mini-VDD contains an example of how these pseudo-VM's have their register states saved at Init_Complete time and how RESTORE_REGISTERS uses the pseudo VM handles to properly restore the state of the blue screen message mode.