Export (0) Print
Expand All

UnregisterTouchWindow function

Registers a window as no longer being touch-capable.

Syntax


BOOL WINAPI UnregisterTouchWindow(
  _In_  HWND hWnd
);

Parameters

hWnd [in]

The handle of the window. The function fails with ERROR_ACCESS_DENIED if the calling thread does not own the specified window.

Return value

If the function succeeds, the return value is nonzero.

If the function fails, the return value is zero. To get extended error information, use the GetLastError function.

Remarks

The UnregisterTouchWindow function succeeds even if the specified window was not previously registered as being touch-capable.

Requirements

Minimum supported client

Windows 7 [desktop apps only]

Minimum supported server

Windows Server 2008 R2 [desktop apps only]

Header

Winuser.h (include Windows.h)

Library

User32.lib

DLL

User32.dll

See also

Functions
RegisterTouchWindow

 

 

Community Additions

ADD
Show:
© 2014 Microsoft