Setwindowlongptr Pinvoke. The function also sets a value at the specified offset in the