RegisterTouchHitTestingWindow function (winuser.h)

Registers a window to process the

WM_TOUCHHITTESTING notification.

Syntax

BOOL RegisterTouchHitTestingWindow(
  [in] HWND  hwnd,
  [in] ULONG value
);

Parameters

[in] hwnd

The window that receives the WM_TOUCHHITTESTING notification.

[in] value

One of the following values:

Return value

If this function succeeds, it returns TRUE.

Otherwise, it returns FALSE. To retrieve extended error information, call the GetLastError function.

Requirements

Requirement Value
Minimum supported client Windows 8 [desktop apps only]
Minimum supported server None supported
Target Platform Windows
Header winuser.h
Library User32.lib
DLL User32.dll

See also

Functions