Ahora que lo menciona el amigo Román, me he dado una vuelta por M$ y he visto que esta función ha sido substituida
Cita:
|
Empezado por MSDN
Note This function has been superseded by the SetWindowLongPtr function. To write code that is compatible with both 32-bit and 64-bit versions of Microsoft® Windows®, use the SetWindowLongPtr function.
|
Así que te aconsejo que le des un vistazo también a esa función
SetWindowLong
SetWindowLongPtr
Espero que te sea de ayuda