Platform SDK: Win32 API

Cancel Close

Cancels the close operation.

mov ah, 16h    ; Windows multiplex function 
mov al, 8Fh    ; VM Close 
mov dh, 3      ; Cancel Close 
mov dl, 0      ; always 0 
int 2Fh 
or ax, ax 
jz success 

Return Values

Returns zero in the AX register if successful.

Remarks

After acknowledging the close state of the internal close flag, an application should either exit or cancel the close operation by calling Cancel Close.