Sets a specified interrupt vector to a specified address.
procedure SetIntVec(IntNo: Byte; Vector: Pointer);
IntNo specifies the interrupt vector number (0..255), and Vector specifies the address.
Vector is often constructed with the @ operator to produce the address of an inter-rupt procedure. Assuming Int1BSave is a variable of type Pointer, and Int1BHandler is an interrupt procedure identifier, the following statement sequence installs a new interrupt $1B handler and later restores the original handler:
In DOS protected mode and Windows standard and enhanced modes, SetIntVec
sets the protected mode interrupt vector with the given interrupt vector
number. SetIntVec cannot be used to modify real-mode interrupt vectors or
protected-mode exception vectors.