Int 2F/AX=1684h/BX=0009h

Prev Next Ralf Interrups Categories Contents

------

MS Windows - REBOOT - GET API ENTRY POINT

AX = 1684h
BX = 0009h (virtual device ID for REBOOT device) (see #02642)
ES:DI = 0000h:0000h

Return:
ES:DI -> VxD API entry point (see #02648) 0000h:0000h if the VxD does not support an API

See Also: INT 14/AH=17h"FOSSIL" - INT 16/AX=E0FFh

(Table 02648) Call REBOOT protected-mode entry point with:. AX = function 0100h warm boot

Return:
Never

Note: Broadcasts "Reboot_Processor" message, which is caught by the VKD device 0201h set KERNEL Ctrl-Alt-Del handler ES:DI -> new Ctrl-Alt-Del handler DS:SI -> KERNEL reboot sanity check byte

Return:
CF clear

Notes: If an application installs its own handler and then chains to Windows' handler, Windows will no longer be able to detect hung applications, and will always produce an "Application not responding" dialog DS must contain a writable, fixed selector because the provided address is converted to a linear address before being stored when Ctrl-Alt-Del is pressed in the system VM, Reboot sets the sanity check byte to zero, schedules a 750ms wait, and then tests whether the check byte is still zero; if not, it displays a message that there is no hung application and then exits 0202h get KERNEL Ctrl-Alt-Del handler

Return:
CF clear ES:DI -> current Ctrl-Alt-Del handler

Note: The default handler is located in KERNEL 0203h display "Application not responding" dialog box ES:DI -> ASCIZ name of hung application

Return:
Never if user pressed Ctrl-Alt-Del a second time CF clear AX = result 0000h user pressed Esc 0001h user pressed Enter

Note: This function is used by the default Windows Ctrl-Alt-Del handler 0204h set/reset protected-mode INT 01 handler CX:EDX -> new protected-mode INT 01 handler CX = 0000h restore protected-mode INT 01 handler

Return:
CF clear

Notes: If CX is nonzero, the current handler address is saved internally before the new handler is set; this saved address is then used when CX is zero on entry used by Windows' default Ctrl-Alt-Del handler; actual fatal exit to DOS will be done on next INT 01

Warning:
Opened files are not closed and remain open as orphaned files in DOS

Note: Functions 0201h and 0203h are not useful outside the system VM

See Also: #01271 - #01273

Category: Windows - Int 2Fh - M

------

Prev Next Ralf Interrups Categories Contents