
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Zortech C++ Language Reference - tsr_install
[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
tsr_install
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