ITabletEventSink::CursorDown method

Occurs when the stylus tip contacts the digitizing tablet surface.

Syntax

HRESULT CursorDown(
  [in] TABLET_CONTEXT_ID tcid,
  [in] CURSOR_ID         cid,
  [in] ULONG             nSerialNumber,
  [in] ULONG             cbPkt,
  [in] BYTE              *pbPkt
);

Parameters

tcid [in]

The identifier of the tablet.

cid [in]

The identifier of the stylus.

nSerialNumber [in]

The serial number of the stylus.

cbPkt [in]

The number of bytes in a stylus data packet.

pbPkt [in]

The stylus data indicating the location where the stylus touched the tablet.

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

ITabletEventSink Interface