Important Notice
The pages on this site contain documentation for very old MS-DOS software,
purely for historical purposes.
If you're looking for up-to-date documentation, particularly for programming,
you should not rely on the information found here, as it will be woefully
out of date.
MOU_VER (1.2)
◄Up► ◄Next► ◄Previous►
────────────────────────────────────────────────────────────────────────────
#define INCL_DOSDEVIOCTL
USHORT DosDevIOCtl(pusVersion, 0L, 0x006A, 0x0007, hDevice)
PUSHORT pusVersion; /* pointer to version number */
HFILE hDevice; /* device handle */
The MOU_VER function returns the version number of the mouse driver.
Parameter Description
────────────────────────────────────────────────────────────────────────────
pusVersion Points to a data area in which the version number of the mouse
driver is returned.
hDevice Identifies the pointing device that receives the device-control
function. This handle must have been created previously by using
the DosOpen function.
Return Value
The return value is zero if the function is successful. Otherwise, it is an
error value.
Comments
The MOU_VER function returns 0x0001 as the version number of the mouse
driver to indicate that the following features are supported. These features
are new for MS OS/2 version 1.2.
Function Change
────────────────────────────────────────────────────────────────────────────
MOU_DISPLAYMODECHANGE New IOCtl function.
MOU_SETPROTDRAWADDRESS New pbDrawData parameter.
MOU_SETREALDRAWADDRESS New pvConfig parameter.
MOU_UPDATEDISPLAYMODE New pvConfigInfo parameter.
MOU_UPDATEDISPLAYMODE Size of VIOMODEINFO structure increased from 12 to
34 bytes.
MOU_VER New IOCtl function.
The MOU_VER function should be used to determine the version number of the
mouse device driver before any of these features are used, in order to
maintain compatibility with earlier versions of MS OS/2.
See Also
DosDevIOCtl, DosOpen
♦