ITfFocusHandwritingTargetArgs::GetPointerTargetInfo method (shellhandwriting.h)

Syntax

HRESULT GetPointerTargetInfo(
  [out, optional] HWND *targetWindow,
  [out, optional] RECT *targetScreenArea,
  [out, optional] SIZE *distanceThreshold
);

Parameters

[out, optional] targetWindow

The target window of the pointer input.

[out, optional] targetScreenArea

The target area 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