This topic has not yet been rated - Rate this topic

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

 

 

Send comments about this topic to Microsoft

Build date: 10/27/2012

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.