Knowledge Base

Function 20 - Swap Interrupt Subroutines

Article ID: 19859

Article Last Modified on 10/3/2003


APPLIES TO


This article was previously published under Q19859

SUMMARY

The following is a description of Function 20: - Swap Interrupt Subroutines (Mouse Version 6.0). Function 20 allows you to get the address and call mask for a Mouse Function 12 subroutine or to exchange the vector and mask.
   Inputs:

         AX = 20
         BX = segment of new subroutine
         CX = new call mask
         DX = offset of new subroutine

   Outputs:

         BX = segment of old subroutine
         CX = old call mask
         DX = offset of old subroutine
				
For more information on mouse function subroutines, refer to the entries on Function 12. A well-coded application returns the old subroutine address (vector) and mask via this function when it terminates. This function is also useful for swapping between a set of Function 12 subroutines within an application.

Additional query words: 7.00 7.04 7.05 8.00 8.10 8.20 9.00

Keywords: KB19859