int = GetWindowLong(hwnd, offset )

Retrieves a long value at the specified offset into the extra window memory of the given window.


hwnd : PyHANDLE

The handle to the window.

offset : int

Specifies the zero-based byte offset of the value to change. Valid values are in the range zero through the number of bytes of extra window memory, minus four (for example, if 12 or more bytes of extra memory were specified, a value of 8 would be an index to the third long integer), or one of the GWL_ constants.


This function calls the GetWindowLongPtr Api function