WinExist
Detects if Windows is running.

This function returns true if Windows is found, otherwise returns false. Don't forget to load QB including the Assembly Support Library (for short, load qb using the /l parameter and declare the QB.BI include file)


FUNCTION Winexist
DIM inregs AS RegType
DIM outregs as RegType
inregs.ax = &H1700
CALL Interrupt(&H2F, inregs, outregs)
IF (outregs.ax <> &H1700) THEN Winexist = -1 ELSE Winexist = 0
END FUNCTION


WinExist - page last edited 2003-04-02 20:06:16 by 200.83.0.201 (home) (edit)
Blast WIKI - by RoboticBoy - edited and tweaked for our evil purposes by Hexadecimal Disaster