Interrupt 2Fh Function 1600h


mov     ax, 1600h   ; Get Windows Installed State
int     2Fh         ; multiplex interrupt

test    al, 7Fh
jz      No_EM_Win   ; Windows not running

Get Installed State (Interrupt 2Fh Function 1600h) determines whether Windows is running. If a program intends to use a Windows function, it must first use this function to make sure that Windows is running.

This function has no parameters.