Fatal_Error

include vmm.inc

Fatal_Error Msg_Ptr, Exit_Flags


The Fatal_Error macro 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.

Parameters

Msg_Ptr

Points to a null-terminated string. This parameter is optional.

Exit_Flags

Specifies the exit flags. This optional parameter can be the following value:

Value Meaning

EF_Hang_On_Exit Hangs the system on a fatal exit.

Return Value

This macro never returns.

Examples

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