ITabletEventSink::SystemEvent method

Occurs when a system event is available.

Syntax

HRESULT SystemEvent(
  [in] TABLET_CONTEXT_ID tcid,
  [in] CURSOR_ID         cid,
  [in] SYSTEM_EVENT      event,
  [in] SYSTEM_EVENT_DATA eventdata
);

Parameters

tcid [in]

The identifier of the tablet.

cid [in]

The identifier of the stylus.

event [in]

The system event code.

eventdata [in]

The system event data.

Return value

This method can return one of these values.

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

Remarks

The following list contains the valid values for the event parameter.

  • SE_TAP
  • SE_DBL_TAP
  • SE_RIGHT_TAP
  • SE_DRAG
  • SE_RIGHT_DRAG
  • SE_HOLD_ENTER
  • SE_HOLD_LEAVE
  • SE_HOVER_ENTER
  • SE_HOVER_LEAVE
  • SE_MIDDLE_CLICK
  • SE_KEY
  • SE_MODIFIER_KEY
  • SE_GESTURE_MODE
  • SE_CURSOR

Requirements

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

See also

ITabletEventSink Interface