ITabletCursor::GetButton method

Retrieves the specified button object from a tablet stylus.

Syntax

HRESULT GetButton(
  [in]  ULONG               iButton,
  [out] ITabletCursorButton **ppButton
);

Parameters

iButton [in]

Identifier of the button to retrieve.

ppButton [out]

The button object specified by the iButton parameter.

Return value

This method can return one of these values.

Return code Description
S_OK
Success.
E_FAIL
An unspecified error occurred.

Requirements

Requirement Value
Minimum supported client
Windows XP Tablet PC Edition [desktop apps only]
Minimum supported server
None supported
Library
Wisptis.exe

See also

ITabletCursor Interface