[ Previous | Next | Contents | Home | Search ]
AIX Version 4.3 Kernel and Subsystems Technical Reference, Volume 2

MQUERYID (Query Mouse Device Identifier)


Queries mouse device identifier.


#include <sys/inputdd.h>

int ioctl (FileDescriptor, MQUERYID, Arg)
int FileDescriptor;
unit *Arg;


The MQUERYID ioctl subroutine call returns the identifier of the natively connected mouse.


FileDescriptor Specifies the open file descriptor for the mouse.
Arg Specifies the address of the location to return the mouse identifier. The mouse identifier returned in the Arg parameter is:

#define MOUSE3B 0x01 /*.......... */
#define MOUSE2B 0x02 /*2 Button Mouse*/

Implementation Specifics

This ioctl subroutine call is part of Base Operating System (BOS) Runtime.

[ Previous | Next | Contents | Home | Search ]