Matthias Kupfer schrieb:
Hello,
Am Mittwoch, 7. Oktober 2009 18:18:24 schrieb Timo Kreuzer:
Why are you duplicating the value? Is that needed for something?
It's not duplicated value, it's used to mark the current ClickLock state, maybe ClickLockTime can be removed.
It already stored in gspv.dwUserPrefMask, so it's redundant. And why could ClickLockTime be removed?
And in case of SPI_SETMOUSECLICKLOCK pvParam is not a pointer to a BOOL, it is the BOOL value itself.
No, it' isn't, we are both wrong pvParam is NULL and the value is stored in uiParam: http://msdn.microsoft.com/en-us/library/ms724947%28VS.85%29.aspx
Did you recently check the page you are referring to? Hint: look at the bottom of the page. Don't trust in MSDN without checking.