Pointer Device Change

Values that can be passed in the wParam parameter of the WM_POINTERDEVICECHANGE message.

PDC_ARRIVAL

0x001

A new device is attached.

PDC_REMOVAL

0x002

A device has been detached.

PDC_ORIENTATION_0

0x004

Orientation of the device.

PDC_ORIENTATION_90

0x008

Orientation of the device.

PDC_ORIENTATION_180

0x010

Orientation of the device.

PDC_ORIENTATION_270

0x020

Orientation of the device.

PDC_MODE_DEFAULT

0x040

The default display mode.

PDC_MODE_CENTERED

0x080

Centered display mode.

PDC_MAPPING_CHANGE

0x100

The change in display to digitizer mapping.

PDC_RESOLUTION

0x200

Display resolution.

PDC_ORIGIN

0x400

The display origin.

PDC_MODE_ASPECTRATIOPRESERVED

0x800

The display aspect ratio.

Requirements

Requirement Value
Minimum supported client
Windows 8 [desktop apps only]
Minimum supported server
Windows Server 2012 [desktop apps only]
Header
Winuser.h

See also

Constants

POINTER_INFO