Fatal_Error

include vmm.inc

Fatal_Error Msg_Ptr, Exit_Flags
 

Calls the Fatal_Error_Handler service which terminates Windows. A virtual device typically calls this macro in response to an unrecoverable error. The macro passes the Msg_Ptr and Exit_Flags parameters (if given) to Fatal_Error_Handler.

Msg_Ptr
Address of a null-terminated string. This parameter is optional.
Exit_Flags
Exit flags. This optional parameter can be the following value:
Value Meaning
EF_Hang_On_Exit Hangs the system on a fatal exit.

The following example quits Windows without displaying an error message:

Fatal_Error
 

The following example quits Windows, and prints the error message pointed to by My_Err_Msg:

Fatal_Error <OFFSET32 My_Err_Msg>
 

See Also

Fatal_Error_Handler