ReleaseCapture

This function releases the stylus capture from a window in the current thread and restores normal stylus input processing. A window that has captured the stylus receives all stylus input, regardless of the position of the stylus.

At a Glance

Header file: Winuser.h
Windows CE versions: 1.0 and later

Syntax

BOOL ReleaseCapture(void);

Return Values

Nonzero indicates success. Zero indicates failure. To get extended error information, call GetLastError.

Remarks

An application calls this function after calling the SetCapture function.

See Also

GetCapture, SetCapture, WM_CAPTURECHANGED