ITfDetermineProximateHandwritingTargetArgs::GetPointerTargetInfo method (shellhandwriting.h)

Syntax

HRESULT GetPointerTargetInfo(
  [out, optional] HWND  *targetWindow,
  [out, optional] POINT *targetScreenPoint,
  [out, optional] SIZE  *distanceThreshold
);

Parameters

[out, optional] targetWindow

The proximate target window of the pointer input.

[out, optional] targetScreenPoint

The proximate target screen coordinates of the pointer input.

This value is based on the dots-per-inch (DPI) awareness of the current thread associated with the Text Services Framework (TSF) thread manager object.

[out, optional] distanceThreshold

The distance (vertical and horizontal) in pixels from a valid edit control for which the targetScreenPoint enables handwriting functionality.

This value is based on the dots-per-inch (DPI) awareness of the current thread associated with the TSF thread manager object.

Return value

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

Requirements

Requirement Value
Header shellhandwriting.h