GetNumberOfConsoleMouseButtons

  BOOL GetNumberOfConsoleMouseButtons(lpcMouseButtons)    
  LPDWORD lpcMouseButtons; /* receives number of buttons */

The GetNumberOfConsoleMouseButtons function retrieves the number of buttons on the mouse used by the current console.

Parameters

lpcMouseButtons

Points to a variable that will receive the number of mouse buttons.

Return Value

The return value is TRUE if the function was successful, or FALSE if an error occurred. Use the GetLastError function to obtain extended error information.