I'm not sure why you want to mess with interrupts since in protected mode programming, drivers have taken the place of low-level access.
some good n easy examples of how to write programms using DOS int
But when you invoke an interrupt the CPU transfers control to a handler. The address of the handler is stored in memory somewhere. The interrupt handler address list starts at 0000:0000 in real mode and in protected mode it gets much more complex. The IVT or interrupt vector table can be changed directly or via DOS. DOS C has functions in <dos.h> to do just this.
You will need to understand these in order to work with DOS interrupts.
This will show the mouse cursor in DOS code. The mouse handler is for int 33 hex or 0x33. There are about 12 standard functions for most mouse drivers and about 6 of them for sure are implemented on the default Windows mouse driver.