IS_POINTER_PRIMARYBUTTON_WPARAM macro

Checks whether the specified pointer is the primary pointer.

Syntax

BOOL IS_POINTER_PRIMARYBUTTON_WPARAM(
   WPARAM wParam
);

Parameters

  • wParam
    The value to be converted.

Return value

TRUE if the specified pointer is the primary pointer. Otherwise, FALSE.

Requirements

Minimum supported client

Windows 8 [desktop apps only]

Minimum supported server

Windows Server 2012 [desktop apps only]

Header

Winuser.h (include Windows.h)

See also

Macros