I'm having a bit of a trouble understand what this function does. I think it changes the attributes of a window class but I am not sure.
Also I'm a bit confused what this does "(long)windowMessageText". Is the text being converted into a long?
Code:HWND hwnd; LPCWSTR windowMessageText2 = L"wow"; SetWindowLong(hwnd, GWLP_USERDATA, (long)windowMessageText);