Function 22 - Save Driver State
PSS ID Number: Q19861
Article last modified on 05-14-1993
PSS database name: H_Mouse

6.x 7.x 8.x 9.00

MS-DOS


--------------------------------------------------------------------
The information in this article applies to:

 - Microsoft Mouse Driver for MS-DOS, versions 6.x, 7.x, 8.x and 9.0
---------------------------------------------------------------------

Summary:

The following function copies the mouse driver state into a local
buffer: 

FUNCTION 22: - SAVE MOUSE DRIVER STATE (Mouse Version 6.00)
   Inputs:
      AX = 22
      DX = Offset of buffer area
      ES = Segment of buffer area
   Outputs: none in registers - see below

Use Function 21 first, to determine the amount of memory required for
mouse state storage. Function 22 puts the mouse state into the buffer
pointed to by ES:DX. The state preserves mouse driver internal
variables (cursor type, position, etc.). 

Additional reference words: 7.00 7.04 7.05 8.00 8.10 8.20 9.00

Copyright Microsoft Corporation 1993.