hwnd (HWND) - input
hwnd can take the special value HWND_THREADCAPTURE to capture the pointing device to the current thread rather than to a particular window. HWND_THREADCAPTURE is unique among window handles.
If hwnd is NULLHANDLE, pointing device capture is released.