Share via


UnregisterTouchWindow Function

Registers a window as no longer being touch-capable.

Syntax

BOOL WINAPI UnregisterTouchWindow(
  __in  HWND hWnd
);

Parameter

  • hWnd [in]
    The handle of the window. The function fails with ERROR_ACCESS_DENIED if the calling thread does not own the specified window.

Rückgabewert

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.

Hinweise

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

Anforderungen

Mindestens unterstützter Client

Windows 7

Mindestens unterstützter Server

Windows Server 2008 R2

Header

Winuser.h (include Windows.h)

Bibliothek

User32.lib

DLL

User32.dll

Siehe auch

Functions

RegisterTouchWindow