win32api.SetClassLong

int = SetClassLong(hwnd, offset , val )

Replaces the specified 32 or 64 bit value at the specified offset into the extra class memory for the window.

Parameters

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.

val : int

Specifies the long value to place in the window's reserved memory.

Comments

This function calls the SetClassLongPtr Api function