DosQueryConsoleNumberOfMouseButtons

C++ language function declaration

APIRET APIENTRY DosQueryConsoleNumberOfMouseButtons ( HFILE Handle, size_t & Buttons ) ;

Parameters

Handle
The file handle of the console buffer or CON device. (Note)
Buttons
A reference to a variable wherein is stored the number of mouse buttons on the mouse.

Return value

An OS/2 system error code.

Remarks

The number of mouse buttons is determined in software. The number of buttons supported by the mouse device driver may not match the number of buttons that the physical mouse actually has.


The 32-bit Unicode Console API is © Copyright 1999,2000,2009 Jonathan de Boyne Pollard. "Moral" rights are asserted.