Export (0) Print
Expand All

GET_XBUTTON_WPARAM macro

Retrieves the state of certain buttons from the specified WPARAM value.

Syntax


int GET_XBUTTON_WPARAM(
  WPARAM wParam
);

Parameters

wParam

The value to be converted.

Return value

The high-order word indicates which button was released. It can be either of the following values.

Return code/valueDescription
XBUTTON1
0x0001

The first X button was released.

XBUTTON2
0x0002

The second X button was released.

 

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Winuser.h (include Windows.h)

See also

Mouse Input Overview

 

 

Community Additions

ADD
Show:
© 2014 Microsoft