Fatal_Error_Handler


include vmm.inc

mov     esi, <MsgPtr>       ; points to message to display
mov     eax, <ErrFlags>     ; exit flags
VMMcall Fatal_Error_Handler

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 this service when it detects a fatal error.

MsgPtr

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

ErrFlags

Exit flags. Can be the following value:

Value

Meaning

EF_Hang_On_Exit

Hangs the system on a fatal exit.


All other values are reserved.

This service should not be called directly. Use the Fatal_Error macro instead.

See also Fatal_Error, Fatal_Memory_Error