c# - How do I pinvoke to GetWindowLongPtr and SetWindowLongPtr on 32-bit platforms? -
I want to apologize and, and I'm looking at the information about them. Some sources say that, on 32-bit platforms, GetWindowLongPtr is just a preprocessor macro that calls GetWindowLong, and for example user32.dll the GetWindowLongPtr does not exist as a user's login : There is a static method, which checks IntPtr.Size and then with either set either SetWindowLong or SetWindowLongPtr, "Legacy OSes do not support SetWindowLongPtr" "Legacy OS "means no explanation for what it means. GetWindowLongPtr on a state "32 bit system is just a Mac that indicates GetWindowLong". These sources indicate that * PTR entry points are not just in the user 32.dll version, which says, with 32-bit Windows 7. But I do not get any indication of this in accordance with the MSDN documentation MSDN, plain and simple, instead of Setwondo Long. And according to the requirements section, it appears that SetWindowLongPtr is from user32.dll since Windows 2000 (b...