Microsoft KB Archive/71310

INF: Return Value of SwapMouseButton Documented Incorrectly ID Number: Q71310

3.00 MS-DOS docerr

Summary:

Page 4-437 of the “Windows Software Development Kit Reference Volume 1” documents the return value for the SwapMouseButton function incorrectly. The return value is documented as follows:

The return value specifies the outcome of the function. It is TRUE if the function reversed the meaning of the mouse buttons. Otherwise, it is FALSE.

Instead, the documentation should read:

The return value specifies the meaning of the mouse buttons immediately prior to the SwapMouseButton call. It is TRUE if the meaning of the mouse buttons was reversed. Otherwise, it is FALSE.