No real changes, just refactor the code to extract the part of CancelMouseCapture() which can be useful not only when the mouse capture is lost unexpectedly, but also when we release it of our own volition, into a separate function.
No real changes, just refactor the code to extract the part of CancelMouseCapture() which can be useful not only when the mouse capture is lost unexpectedly, but also when we release it of our own volition, into a separate function.