Int33_API

include vmd.inc

VxDcall Int33_API


The Int33_API service is called by WINOLDAPP to inform the special mouse driver the new state of mouse buttons and position for the application displayed in a window. If the special mouse driver is not installed, then this call returns with carry flag set. If the API is not provided, then also it returns with carry flag set.

Parameters

EAX

Specifies the Client_AX register. The high word is always zero.

Value Meaning

1 Mouse API

Register Description

Client_EBX Specifies the handle of the virtual machine for which the call is made.
Client_ECX Specifies (event flags, state) where state is the button state of the mouse and event flags convey the change in button state from previous call.
Client_EDI Specifies (X,Y) position of mouse in pixels.

2 Special mouse API presence test.

EBX

Specifies the handle of virtual machine making call.

Return Value

The carry flag is clear if the API is supported. Otherwise, the carry flag is set to indicate the mouse driver is not special.

Uses

Flags