SHELL_SYSMODAL_Message
include shell.inc
mov ebx, Handle ; virtual machine handle
mov eax, Flags ; message box flags
mov ecx, OFFSET32 Message ; address of message
mov edi, OFFSET32 Caption ; address of caption
VxDcall SHELL_SYSMODAL_Message
mov [Response], eax ; response code from message box
Displays a system modal message box in the Windows shell. Uses EAX and Flags.
- Returns the response code from the message box in the EAX register. A response code can be one of the ID symbols defined in the SHELL.INC file.
- Handle
- Specifies the handle of the virtual machine responsible for the message.
- Flags
- Specifies the message box flags. See the MB_ symbols in the SHELL.INC file. The MB_SYSTEMMODAL value must be given.
- Message
- Address of a null-terminated string specifying the message text.
- Caption
- Address of a null-terminated string specifying the caption text. If this parameter is zero, the service uses the standard caption. If this parameter points to an empty string, the message box has no caption.
The strings pointed to by the ECX and EDI registers must remain valid until SHELL_Sysmodal_Message returns.