hwndDesktop (HWND) - input

      Desktop-window handle, or HWND_DESKTOP.

    hwnd (HWND) - input

      Handle of the window that is to receive all pointing device messages.

      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.

    rc (BOOL) - returns

      Success indicator.

      TRUE

        Successful completion.
      FALSE
        Error occurred. If the pointing device has already been captured by another thread or window, the call fails. This is to prevent applications from removing the capture from other windows or threads.


      [Back] [Next]