WinQueryCapture (1.2)
◄Function Group► ◄Overview► ◄Changes► ◄Up► ◄Next► ◄Previous►
────────────────────────────────────────────────────────────────────────────
#define INCL_WININPUT
HWND WinQueryCapture(hwndDesktop, fLock)
HWND hwndDesktop; /* desktop handle */
BOOL fLock; /* lock/unlock flag */
The WinQueryCapture function returns the window handle of the window that
has the mouse capture.
Parameter Description
────────────────────────────────────────────────────────────────────────────
hwndDesktop Identifies the desktop window. This parameter can be
HWND_DESKTOP or the desktop-window handle.
fLock This parameter is ignored by MS OS/2 versions 1.2 and later.
Return Value
The return value is the window handle with the mouse capture if the function
is successful; it is NULL if no window has the capture or an error occurs.
See Also
WinLockWindow, WinSetCapture
♦