Fatal_Error_Handler

include vmm.inc

mov esi, <MsgPtr> ; points to message to display

mov eax, <ErrFlags> ; exit flags

VMMcall Fatal_Error_Handler


The Fatal_Error_Handler service terminates Windows by informing all initialized virtual devices that an unrecoverable error has occurred and should return to real mode (optionally printing an error message). A virtual device should call or jump to this service when it detects a fatal error.

Parameters

MsgPtr

Points to a null-terminated string specifying the message to display. If this parameter is 0, no message is displayed.

ErrFlags

Specifies the exit flags. It can be the following value:

Value Meaning

EF_Hang_On_Exit Hangs the system on a fatal exit.

All other values are reserved.

Return Value

This service does not return.

Uses

All registers

See Also

Fatal_Error, Fatal_Memory_Error