GetCapture (Windows CE 5.0)

Send Feedback

This function retrieves the handle to the window, if any, that has captured the mouse or stylus input. Only one window at a time can capture the mouse or stylus input.

HWNDGetCapture(void);

Parameters

None.

Return Values

The handle of the capture window associated with the current thread indicates success. NULL indicates that no window in the current thread has captured the mouse.

Remarks

A NULL return value does not indicate that another thread or process in the system has not captured the mouse or stylus; NULL just indicates that the current thread has not captured the mouse or stylus.

Requirements

OS Versions: Windows CE 1.0 and later.
Header: Windows.h.
Link Library: Coredll.lib.

See Also

ReleaseCapture | SetCapture

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.