Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Zortech C++ 3.0r4 - <b>tsr_install</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
tsr_install
   Note-This function is not available under OS/2 or when using the Z, X or
   P memory models.

Usage

   #include <tsr.h>
   int tsr_install(int flag);

Description

   Causes the program to terminate but stay resident. Installs the TSR
   interrupt handlers and sets up the hotkey. If flag is TIMESLICE, popmain
   is called on the timer interrupt, a maximum of 18.2 times a second. If
   flag is POPONLY, popmain is activated only when the hotkey is pressed.
   The value TSR_DEBUG can be ored with flag so that the TSR is installed
   with debugging mode turned on.


Return Value

   Returns 1 if it cannot install because another copy is already installed.
   If the function is successful it does not return. See Also tsr_uninstall



Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson