IHandwritingInputRoutingCallback::GetThreadIdForInput method (shellhandwriting.h)

Retrieves the ID of the message handling thread for the input target UI.

Syntax

HRESULT GetThreadIdForInput(
  [in]  UINT32 pointerId,
  [in]  POINT  *targetScreenPoint,
  [in]  HWND   targetHWnd,
  [out] UINT32 *uiThreadId
);

Parameters

[in] pointerId

The pointer ID associated with the input.

[in] targetScreenPoint

The screen coordinates of the pointer, in pixels.

[in] targetHWnd

The input target.

[out] uiThreadId

The ID for the message handling thread of the input target UI.

Return value

If this function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Requirement Value
Header shellhandwriting.h