[Toc][Index]

MouGetNumButtons


Bindings:  C, MASM 

This call returns the number of buttons supported on the installed mouse 
driver. 
 MouGetNumButtons     (NumberOfButtons, DeviceHandle) 
 
 NumberOfButtons (PUSHORT) - output 
    Address of the number of physical buttons. The return values for the 
    number of buttons supported are: 
    Value     Definition 
    1         One mouse button 
    2         Two mouse buttons 
    3         Three mouse buttons. 
 DeviceHandle (HMOU) - input 
    Handle of the mouse device from a previous MouOpen. 
 rc (USHORT) - return 
    Return code descriptions are: 
    385       ERROR_MOUSE_NO_DEVICE 
    466       ERROR_MOU_DETACHED 
    501       ERROR_MOUSE_NO_CONSOLE 
    505       ERROR_MOU_EXTENDED_SG 
 

Created using Inf-PHP v.2 (c) 2003 Yuri Prokushev
Created using Inf-HTML v.0.9b (c) 1995 Peter Childs