GWLP_USERDATA MSDN原文 Sets the user data associated with the window. This data is intended for use by the application that created the window. Its value is initially zero. 通过这个可以向指定的窗口中绑定用户自定义数据,通过GetWindowLongPtr(hwnd, GWLP_USERDATA)取出自定义数据。