/// <summary> /// Reverses or restores the meaning of the left and right mouse buttons. /// </summary> /// <param name="bSwap">If this parameter is TRUE, the left button generates right-button messages and the right button generates left-button messages. If this parameter is FALSE, the buttons are restored to their original meanings.</param> /// <returns>If the meaning of the mouse buttons was reversed previously, before the function was called, the return value is nonzero.</returns> [DllImport("user32.dll", EntryPoint = "SwapMouseButton")] public static extern int SwapMouseButton(bool bSwap);